From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 399924C95 for ; Wed, 13 Mar 2019 16:36:27 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2DFa12X006018; Wed, 13 Mar 2019 08:36:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=skIZKKzqv0nyjlSqVoI/V5lpMwgzJ+AhK60BQ1JIrHI=; b=GAQlU9Mfe7Rqut0vumVMUdUtDDAW+zhDCRKcEL0CrbQil0nRnlDIfei/rrFJklnQ6cXv ZbyKBQf45hRToBWiwhOuzPaexAFFiOvjkQPgP0i6bC9UZ96AVppm8T2gF43pBZv8btmf 8v+UJzt8drB3gKLoidZK266fZiLqEEhnv8SfP3BYCXcosMNfMR53z85s+e6+bKzZlyS4 4fxLUjwNYmcUVEayk3lyKE0lgQYt7QZ/Viqc/0dwxJtHDnaol1GwWqvYMikPGCzF1ZQw vxOlCaKbzIC9zP8WJsrDlswCXq/lBvoDRJ/JvAPITcagko2eWUenFvgdVPCBgHmniFGq Zw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2r6u9y1vph-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2019 08:36:22 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 13 Mar 2019 08:36:15 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.57) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 13 Mar 2019 08:36:15 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=skIZKKzqv0nyjlSqVoI/V5lpMwgzJ+AhK60BQ1JIrHI=; b=JTofRmZTq72ZgDZ8Km3QsCA9RO9I4G57gCWojyWNx9q4rYcgRoZqX7x6MMSVBu5bx1jXgFict3cQ6FYbUm7YH8JfU9Lyr2ZhRr59FdI4zNZD4R2F2MmsJTY/qewpe8oZbliT3WM+5yhay6xD64Bl2ZSrDBOs/ClzHe0XSENprp8= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2774.namprd18.prod.outlook.com (20.179.57.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Wed, 13 Mar 2019 15:36:11 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2cce:b981:61da:f92b]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2cce:b981:61da:f92b%2]) with mapi id 15.20.1709.011; Wed, 13 Mar 2019 15:36:11 +0000 From: Jerin Jacob Kollanukkaran To: "joyce.kong@arm.com" , "dev@dpdk.org" CC: "stephen@networkplumber.org" , "honnappa.nagarahalli@arm.com" , "thomas@monjalon.net" , "nd@arm.com" , "jerin.jacob@caviumnetworks.com" , "gavin.hu@arm.com" Thread-Topic: [dpdk-dev] [PATCH v5 1/2] eal/ticketlock: ticket based to improve fairness Thread-Index: AQHU2bJ8pqxDV2KFmk2794IcmERD6w== Date: Wed, 13 Mar 2019 15:36:10 +0000 Message-ID: <2d837f0c69c6255abe8c113cf89cc2b0414ca202.camel@marvell.com> References: <1550573288-148384-2-git-send-email-joyce.kong@arm.com> <1552283564-113385-2-git-send-email-joyce.kong@arm.com> In-Reply-To: <1552283564-113385-2-git-send-email-joyce.kong@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.182.198.182] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91befd79-fcac-4d15-2afc-08d6a7c99eaa x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2774; x-ms-traffictypediagnostic: BYAPR18MB2774: x-microsoft-antispam-prvs: x-forefront-prvs: 09752BC779 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(366004)(396003)(136003)(376002)(346002)(189003)(199004)(305945005)(6246003)(25786009)(81156014)(3846002)(26005)(7736002)(2906002)(53936002)(6486002)(97736004)(68736007)(118296001)(8676002)(99286004)(106356001)(186003)(229853002)(2501003)(81166006)(6116002)(14444005)(5660300002)(256004)(486006)(102836004)(6436002)(14454004)(478600001)(476003)(6506007)(36756003)(105586002)(76176011)(54906003)(110136005)(86362001)(4326008)(71200400001)(316002)(11346002)(66066001)(71190400001)(2616005)(6512007)(8936002)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2774; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YSiLLkSysuinqqX+P4MXwwQFzh4syFqOxhIjfbpAwu/UkbZLNwb0yf1nyJQM/IYStoJLICzq5hBd2GtgZPcQM8/JLU4/PRoIMD5JMv97k4BxnbWZn7iPUHBx4bDEV9tyWJdPw7nOGrBK9JJlZQNOj/XDFX4S5VFsPnn6jm6gApM/SLR8jXlfkm/a2QTD/Jd5nqCXgyf2L0bFhga2RNGkVFMVGW60kA4U1nVNMy8Htc6zzGyCXeXvi6WPGdZByx6042800DIXcZrRqor7jBgjDSSRiBgG2PvarmKe7FD/HdS08klakwW6UQCrCmGYJwWDbFKRzfFNfQ/4rS/DaLIYfJBsWVv1clWuD8OkErjmGZVUwz9WugnoQZaPEzdDthmxL4bViqG41cFR9TVQPGndwEje3Hrsm9bBpvPnMH0pm5A= Content-Type: text/plain; charset="utf-8" Content-ID: <183772FD582E7A4B8169E38522BDD21B@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 91befd79-fcac-4d15-2afc-08d6a7c99eaa X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 15:36:10.9839 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2774 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-13_09:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH v5 1/2] eal/ticketlock: ticket based to improve fairness X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2019 15:36:27 -0000 T24gTW9uLCAyMDE5LTAzLTExIGF0IDEzOjUyICswODAwLCBKb3ljZSBLb25nIHdyb3RlOg0KPiBU aGUgc3BpbmxvY2sgaW1wbGVtZW50YXRpb24gaXMgdW5mYWlyLCBzb21lIHRocmVhZHMgbWF5IHRh a2UgbG9ja3MNCj4gYWdncmVzc2l2ZWx5IHdoaWxlIGxlYXZpbmcgdGhlIG90aGVyIHRocmVhZHMg c3RhcnZpbmcgZm9yIGxvbmcgdGltZS4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