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 11C803257 for ; Thu, 13 Dec 2018 20:50:13 +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 wBDJoDum011166; Thu, 13 Dec 2018 11:50:13 -0800 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=HhJvT/tCNKjroh20wE5PsMZeDM8wJlzRPXG/Cdw+RzA=; b=C2RhzwchN4u+gjKTd4yHBeb5E4ixowvVtYCUzKNAyi4Sf+jnIhcLuzaaubURJw9oRj01 Ju21lFm4BsD7vI/dX3C0sIxgl/1TTPwLunw9eEzLusodIA3k0ZgthVXCkIeATIj5odSU GJyRe19U0tp/JduTA6ary7SD0ltDI6DI24FZwnCWXywWD482Eszf+N66GBDoNiRN+gK9 5TzbcJ7H8fMOH2Yxi1DS2Kz9xkJq3g2cU3JCAp0njQ1H2uxj6bvlWLJ+H+vJxvJlvAg6 x8C2qEcex9EL30ehWPFVXKzPqypZ1C1puL1S2LvIaUhIxJskyJUynprZARt7xfwz3dAF Ag== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2pbeccm1e6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 13 Dec 2018 11:50:13 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 13 Dec 2018 11:50:11 -0800 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.54) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 13 Dec 2018 11:50:11 -0800 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=HhJvT/tCNKjroh20wE5PsMZeDM8wJlzRPXG/Cdw+RzA=; b=ujLukuwqCmvPROFn03fEx3Jvr9P5G+D3BFo3Q3nr3QVQ3YAvxQ1Ye308AtaL1e5MkXQ4Gf8EY7d8S+KC6Xyv/qU4Ze4OnAWeuM6GnE11z1MLY2w60PLQI85+BmavrK0kATmaODZAbG3rzF50YmtHiNkxqBYpovvojewz8qnI0xo= Received: from CY1PR18MB0584.namprd18.prod.outlook.com (10.164.217.134) by CY1PR18MB0297.namprd18.prod.outlook.com (10.163.53.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.19; Thu, 13 Dec 2018 19:50:09 +0000 Received: from CY1PR18MB0584.namprd18.prod.outlook.com ([fe80::259c:46a2:412a:b645]) by CY1PR18MB0584.namprd18.prod.outlook.com ([fe80::259c:46a2:412a:b645%4]) with mapi id 15.20.1425.016; Thu, 13 Dec 2018 19:50:08 +0000 From: Jerin Jacob Kollanukkaran To: "qi.z.zhang@intel.com" , "keith.wiles@intel.com" , "ferruh.yigit@intel.com" , "bruce.richardson@intel.com" , "konstantin.ananyev@intel.com" CC: "bernard.iremonger@intel.com" , "dev@dpdk.org" , "wenzhuo.lu@intel.com" Thread-Topic: [EXT] [dpdk-dev] [PATCH v2 2/3] app/testpmd: improve MAC swap performance for x86 Thread-Index: AQHUkRYAZNJx2qJxuUquYG9+l8uCAKV9F+qA Date: Thu, 13 Dec 2018 19:50:07 +0000 Message-ID: <470f02192a8a08a0fb4181c81d5c731b3fecf30b.camel@marvell.com> References: <20181122172632.6229-1-qi.z.zhang@intel.com> <20181211055511.32284-1-qi.z.zhang@intel.com> <20181211055511.32284-3-qi.z.zhang@intel.com> In-Reply-To: <20181211055511.32284-3-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [108.20.23.67] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY1PR18MB0297; 20:I/ely2btL8J9X94mKUxFbp24Ydx4+Qntm8RIK5Y6lsWiQ+zNkoa6LgNwlKiBXvVsfxHkd3tYNk0MCiLIsxGEo8vDdq0c+EacT/Gd59RAsM6y/e5Zp3qc+5f10AmbD7muBw8PPJLyLBbd+1pWEiU80SEvbdVoasBz9EZxh+K92ik= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: ed1a6134-05a7-43c3-25c1-08d661342f76 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:CY1PR18MB0297; x-ms-traffictypediagnostic: CY1PR18MB0297: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(5005006)(8121501046)(3231475)(944501520)(52105112)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:CY1PR18MB0297; BCL:0; PCL:0; RULEID:; SRVR:CY1PR18MB0297; x-forefront-prvs: 088552DE73 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(366004)(136003)(346002)(199004)(189003)(14454004)(5660300001)(7736002)(6486002)(118296001)(6436002)(305945005)(26005)(2906002)(3846002)(6116002)(102836004)(478600001)(6506007)(53936002)(25786009)(81156014)(81166006)(575784001)(86362001)(229853002)(2201001)(4326008)(6246003)(186003)(8936002)(486006)(11346002)(4001150100001)(446003)(97736004)(2616005)(71200400001)(71190400001)(106356001)(256004)(476003)(6512007)(14444005)(2501003)(99286004)(68736007)(66066001)(36756003)(105586002)(110136005)(316002)(76176011)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR18MB0297; H:CY1PR18MB0584.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-microsoft-antispam-message-info: AzQzdbuCMrCpLoe03sQhlZuppOv5BDxOkAkvH97TH2KRBi4eaA2UFJd0zW/h+WfytBbXRk2dBMEfib8z7ZMJyNK9l72prgqd1c9UWN6OK1FKDQtG5Z8bPd7k5Bmpa3N5bYvUzAxA8Bi3Ao+hQ4LvwXHmLSUc40Eaw2NZ0wBxQG9ddN0/sQyczFi/DhdNKCj906yR0xCT14aD6w3BvfSnEokHfVSL9kRMb3gNGcMbCIV4pHGFeO4Zli1Mc0WtTJcCpRlZb8E/iUa3O8XHZ5EIOudt4yCXbX/IadFEfeQOYuvcVjAnpRiTNXaIBWHBJmNW spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ed1a6134-05a7-43c3-25c1-08d661342f76 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2018 19:50:07.9677 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR18MB0297 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-13_03:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812130170 Subject: Re: [dpdk-dev] [EXT] [PATCH v2 2/3] app/testpmd: improve MAC swap performance for x86 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: Thu, 13 Dec 2018 19:50:14 -0000 T24gVHVlLCAyMDE4LTEyLTExIGF0IDEzOjU1ICswODAwLCBRaSBaaGFuZyB3cm90ZToNCj4gDQo+ IFRoZSBwYXRjaCBvcHRpbWl6ZXMgdGhlIG1hYyBzd2FwIG9wZXJhdGlvbiBieSB0YWtpbmcgYWR2 YW50YWdlDQo+IG9mIFNTRSBpbnN0cnVjdGlvbnMsIGl0IG9ubHkgaW1wYWN0cyB4ODYgcGxhdGZv cm0uDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBRaSBaaGFuZyA8cWkuei56aGFuZ0BpbnRlbC5jb20+ DQo+IC0tLQ0KPiAgYXBwL3Rlc3QtcG1kL21hY3N3YXAuYyAgICAgICAgfCAgNCArKysrDQo+ICBh cHAvdGVzdC1wbWQvbWFjc3dhcF9jb21tb24uaCB8ICAxIC0NCj4gIGFwcC90ZXN0LXBtZC9tYWNz d2FwX3NzZS5oICAgIHwgNDUNCj4gKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKw0KPiAgMyBmaWxlcyBjaGFuZ2VkLCA0OSBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9u KC0pDQo+ICBjcmVhdGUgbW9kZSAxMDA2NDQgYXBwL3Rlc3QtcG1kL21hY3N3YXBfc3NlLmgNCj4g DQo+IGRpZmYgLS1naXQgYS9hcHAvd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KPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg OSwgOCwgNywgNik7DQo+ICsNCj4gKyAgICAgICBvbF9mbGFncyA9IG9sX2ZsYWdzX2luaXQodHhw LT5kZXZfY29uZi50eG1vZGUub2ZmbG9hZHMpOw0KPiArICAgICAgIHZsYW5fcWlucV9zZXQocGt0 cywgbmIsIG9sX2ZsYWdzLA0KPiArICAgICAgICAgICAgICAgICAgICAgICB0eHAtPnR4X3ZsYW5f aWQsIHR4cC0+dHhfdmxhbl9pZF9vdXRlcik7DQo+ICsNCj4gKyAgICAgICBmb3IgKGkgPSAwOyBp IDwgbmI7IGkrKykgew0KPiArICAgICAgICAgICAgICAgaWYgKGxpa2VseShpIDwgbmIgLSAxKSkN Cj4gKyAgICAgICAgICAgICAgICAgICAgICAgcnRlX3ByZWZldGNoMChydGVfcGt0bWJ1Zl9tdG9k KHBrdHNbaSsxXSwNCj4gdm9pZCAqKSk7DQo+ICsgICAgICAgICAgICAgICBtYiA9IHBrdHNbaV07 DQo+ICsNCj4gKyAgICAgICAgICAgICAgIGV0aF9oZHIgPSBydGVfcGt0bWJ1Zl9tdG9kKG1iLCBz dHJ1Y3QgZXRoZXJfaGRyICopOw0KPiArDQo+ICsgICAgICAgICAgICAgICAvKiBTd2FwIGRlc3Qg YW5kIHNyYyBtYWMgYWRkcmVzc2VzLiAqLw0KPiArICAgICAgICAgICAgICAgYWRkciA9IF9tbV9s b2FkdV9zaTEyOCgoX19tMTI4aSAqKWV0aF9oZHIpOw0KPiArICAgICAgICAgICAgICAgYWRkciA9 IF9tbV9zaHVmZmxlX2VwaTgoYWRkciwgc2hmbF9tc2spOw0KPiArICAgICAgICAgICAgICAgX21t X3N0b3JldV9zaTEyOCgoX19tMTI4aSAqKWV0aF9oZHIsIGFkZHIpOw0KPiArDQo+ICsgICAgICAg ICAgICAgICBtYnVmX2ZpZWxkX3NldChtYiwgb2xfZmxhZ3MpOw0KPiArICAgICAgIH0NCj4gK30N Cj4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