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 33EC72C28 for ; Wed, 13 Mar 2019 10:42:38 +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 x2D9bO55019388; Wed, 13 Mar 2019 02:42:31 -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=8DrDdk6JJUBLhFTyjmGj54PG0EOU/gSwCCYRloMmtvE=; b=pt15RETImhxJgzpsqM+Jg5kyQJvbaIn+TKk/Z19g3+72pCW6lHdL0tLp4gfqHx7UtAjx tijKCXmZT1keDGdvejmHKWsU0AnJiWT2UdAEQtzFg9ubPg0ApORyxYGkqeAgO7Qgq/D7 S6KlxHJpO6urkhQUpGQDMUfqRykLVnKcIBrnz6fjeBmZf3Zkd+ID0EiN8iHfmf8dCWyN oOXJumxoY00UWF1iI3fH0RcD6T/al225nfTJQcYB4aemAr0i1cvTg0UikLM/0dKwy6TO re51khthFejqtRRXkpdOXDe0OaB1JxMg/MYYZ5yIPpm8zxr8JbIfv5u2eHuaE7m47B+O zw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2r6u9y0r0r-8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2019 02:42:31 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 13 Mar 2019 02:41:19 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (104.47.41.51) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 13 Mar 2019 02:41:18 -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=8DrDdk6JJUBLhFTyjmGj54PG0EOU/gSwCCYRloMmtvE=; b=lTMgae0gxwtHLFFSc1gARQ7vvZr1rzN/9aORE5x/3kXyw95qwD6jok6YA2pcANI2Oo5jT5opAETZpgjuxVTmZ7rNLoTcHvd5Vl0zFTZ5/0MM8QEfHj8PPUZ1vLSC608QF/m9H8EHElc5TVGj4oZvC7DHL+/BJHydxR0EA2+7Ca4= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2679.namprd18.prod.outlook.com (20.179.94.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Wed, 13 Mar 2019 09:41:14 +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 09:41:14 +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: AQHU2YDmswsAznhRTEe+uNPJ1GZzGg== Date: Wed, 13 Mar 2019 09:41:14 +0000 Message-ID: <21d2ebe3a220b70561d575372d4efd20f53396b1.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: [106.200.236.159] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1302505a-3bea-46c3-7099-08d6a79808bd x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2679; x-ms-traffictypediagnostic: BYAPR18MB2679: x-microsoft-exchange-diagnostics: =?utf-8?B?MTtCWUFQUjE4TUIyNjc5OzIzOkhoMEVhNlVselQzOTlaRWJ5ek1CZ1NXV0RS?= =?utf-8?B?VHVSeTlWcktuUWQ5dUZMVldVcmFwaUl4Y3NrZklsazY1cFNZTCswTk85RjYz?= =?utf-8?B?QUMvNmY3emRVMStXOVdtS3VKeTl2bGdWQ3k4Y0FBckhFT085ZTZBVExWZUE4?= =?utf-8?B?aStRL0hLN0dPY05UVmQrcWxFWVBobnN6Z056SHBjdUlLN0FuOHhkTFdjZkMr?= =?utf-8?B?eVVzTmlaSytsWG5DTnlkdzBBelF2Uko1VFJPbkU2aHcwTjJMOWpCQzZNcTBs?= =?utf-8?B?ek1XVGF4V3FFRXBjUlRNaDBueU1JNy9tSmMxV0M3VlJUSTk2UmVuZmJob2dD?= =?utf-8?B?aUJTNnlwMmVaMFVpU0hLcHNsbTI0Z0NqNG9JeWRSVGVrVVFnRGNHNzVOTCtO?= =?utf-8?B?QzBxdG1QY2VkTk1rcjlLcHk4WTczSWtrdWtLOG43cE9ZWUhvL090alpQbVRR?= =?utf-8?B?ODYyWTE2VDFVNXlYYkhYK3BSMDVGYXl2eXpoTk11TTFGMGoyeGFITzhKVlJY?= =?utf-8?B?ZXU3RDdBV0FhWVNJUkx4WXN4OEx3ZnBpWCtvMCs0cWdxam1laUNnRFJ4N0Rn?= =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TkI1VXla?= =?utf-8?B?V29uWUtXMFdWdkZUWmVvN3FSWmNqTzFwaXNhR3MvU290SFFuMXh5SW5ZZXpZ?= =?utf-8?B?UzV3OU9aMXQrdDROUjBPNVM5d3lQUHNxTHgvbVAxdjU2bDgveitrRlVVNWZ4?= =?utf-8?B?TUF2SXdoSitkRkhPMjhsaENuWWtQc2NaZndIOUM1TDVvNGVnVEFFUDN3PT0=?= x-microsoft-antispam-prvs: x-forefront-prvs: 09752BC779 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(136003)(39860400002)(376002)(396003)(199004)(189003)(2906002)(486006)(102836004)(229853002)(2501003)(305945005)(478600001)(6486002)(26005)(105586002)(97736004)(99286004)(256004)(25786009)(106356001)(14444005)(76176011)(8936002)(6436002)(4326008)(36756003)(14454004)(3846002)(6506007)(316002)(54906003)(110136005)(6116002)(5660300002)(118296001)(6246003)(81166006)(53936002)(11346002)(68736007)(476003)(81156014)(2616005)(446003)(71200400001)(66066001)(71190400001)(8676002)(86362001)(7736002)(6512007)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2679; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: OcflhhOlH9wRTzLcmLNnQy/fvBoW3TSK+nTexvdHZM9Q08VE3Xcf00QZsbMuj/h/MxupT62gnhxWmVvrLaBDjaX39N4BlSbIy2Q1buLgLvgyqR8MOMNGO0dSisHB8kAxF4Hj1G5LgF4SjUBjViOUxqYrGGf0G50PF3/+iBaTEZRL2P5eN3xddYMq8Z8/INqxL/0FX0XejGvA96hurPbKHY0wZ7eFT96Nr9euhYUVtqRjpX6NijmMkni8rzkl2oIliSqkweGj6cWtKW0F7BUQvxRoJJBwLXeP6+7l5KStjKYqq/dJuLfiChvbdz7dXXy23T6q2F8SUMBm7N5Asx1nXywdogK9QJZlozrKOntT0AZgfDKE5ZXRTQOzseVWSI0A47Be++/qMdH6xCA6UzeVMhuI9/ZvVIH+ZL/IBPlaQbA= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1302505a-3bea-46c3-7099-08d6a79808bd X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 09:41:14.1383 (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: BYAPR18MB2679 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-13_05:, , 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 09:42:38 -0000 T24gTW9uLCAyMDE5LTAzLTExIGF0IDEzOjUyICswODAwLCBKb3ljZSBLb25nIHdyb3RlOg0KPiBU aGUgc3BpbmxvY2sgaW1wbGVtZW50YXRpb24gaXMgdW5mYWlyLCBzb21lIHRocmVhZHMgbWF5IHRh a2UgbG9ja3MNCj4gYWdncmVzc2l2ZWx5IHdoaWxlIGxlYXZpbmcgdGhlIG90aGVyIHRocmVhZHMg c3RhcnZpbmcgZm9yIGxvbmcgdGltZS4NCj4gDQo+IFRoaXMgcGF0Y2ggaW50cm9kdWNlcyB0aWNr ZXRsb2NrIHdoaWNoIGdpdmVzIGVhY2ggd2FpdGluZyB0aHJlYWQgYQ0KPiB0aWNrZXQgYW5kIHRo ZXkgY2FuIHRha2UgdG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