From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60096.outbound.protection.outlook.com [40.107.6.96]) by dpdk.org (Postfix) with ESMTP id CD2EC2C15 for ; Tue, 19 Jun 2018 11:45:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cgstowernetworks.onmicrosoft.com; s=selector1-cgstowernetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jUzcwpoCwaqU2+aMkhG03wTjAtv3okBuff52ReQi+Kg=; b=M7BzeaiLGDgAKUhCeWOlpziZCp0yq2KkXDthW92nj1gymQwh/B1wqcI5I2ox/C7DcptEk0YUlcfgc7vchCls+p+K/6Hb2/ThyzoAtwabG/gMhN65wHLuBn4fQif6Qhfsa6a2WTUvnM9H3iIIV1UBPBaJs69maAMFCIPv2KQhN6s= Received: from AM5PR0901MB1427.eurprd09.prod.outlook.com (10.168.159.16) by AM5PR0901MB1426.eurprd09.prod.outlook.com (10.168.159.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.14; Tue, 19 Jun 2018 09:45:08 +0000 Received: from AM5PR0901MB1427.eurprd09.prod.outlook.com ([fe80::557c:cb26:faf0:6b0c]) by AM5PR0901MB1427.eurprd09.prod.outlook.com ([fe80::557c:cb26:faf0:6b0c%5]) with mapi id 15.20.0863.016; Tue, 19 Jun 2018 09:45:08 +0000 From: Ido Goshen To: Ferruh Yigit CC: "dev@dpdk.org" Thread-Topic: [PATCH 1/2] net/pcap: multiple queues fix Thread-Index: AQHUBYffXXv9xeuxuk2/k6Fwo1x/06RlsMKAgAGnJrA= Date: Tue, 19 Jun 2018 09:45:08 +0000 Message-ID: References: <1529163397-88330-1-git-send-email-ido@cgstowernetworks.com> <139aaeb9-d45b-c83d-7843-03c7385bb4e2@intel.com> In-Reply-To: <139aaeb9-d45b-c83d-7843-03c7385bb4e2@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ido@cgstowernetworks.com; x-originating-ip: [5.144.48.231] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM5PR0901MB1426; 7:o5dDMh03k5WZFbJtrTBPxTgYR796PKaf6//K9RE55jqTHthykUz3/aFJfA/JRnVWvpj76TPqw+VY9CAG7ktucLU4jDWXlXCpP9ONrrt/yXBuXU83BFwaVmV6xFgoDANS6xPyfxl4t9Lz0Max1S0TT91krh8baFEANec6uDZtDM2yrlrjI7PuHkgtoQTqNKSh1mTujpXOE1kh0dp89oRz0ddyHAPAmeXibm4ZOv+DGfCEfBrMLD2zmT9u2H8O/hbt x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 7846e75e-3a96-4568-6332-08d5d5c957dc x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:AM5PR0901MB1426; x-ms-traffictypediagnostic: AM5PR0901MB1426: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:AM5PR0901MB1426; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0901MB1426; x-forefront-prvs: 07083FF734 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(346002)(376002)(39380400002)(396003)(366004)(13464003)(199004)(189003)(14454004)(53936002)(2900100001)(33656002)(6246003)(66066001)(316002)(4326008)(74316002)(99286004)(81166006)(81156014)(72206003)(97736004)(8676002)(305945005)(80792005)(5250100002)(7736002)(102836004)(478600001)(26005)(105586002)(53546011)(71446004)(8936002)(25786009)(3846002)(186003)(6506007)(106356001)(6116002)(3280700002)(7696005)(3660700001)(76176011)(59450400001)(55016002)(9686003)(486006)(86362001)(11346002)(446003)(476003)(6436002)(229853002)(6916009)(68736007)(2906002)(5660300001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0901MB1426; H:AM5PR0901MB1427.eurprd09.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cgstowernetworks.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1qPYITdnxCgFwriEY17jgnH1+BioQYhyI0BvEEtdAxv/vxnbaz7gQ7CKyyd/WAuYunJOK+Qc3aAm91hCpmKukzLVEk/NEyF6+fNEI/PMGYi1zwhrEznxY46gSGALyjREn9Wjx9dAkPd3oJguZNmNrrZ3yhTxEiCKXeqie1bIVGLcHp6Tr3OW8/7C0KrwtJTmdxP/YNMXM7OqgrvJ7z2Nc9oQteD2smhUjJvwa46ZzzVsb+bbDA2xPnRtWtjDys0OcuoaCUyfEFPtYJFyibEN52Fs3qNs9iYP6GpP0qLW6CWtwb14MWwoTz8Ud2qO0pdYWzLAxoXUmLnpMdKveJ7/tw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cgstowernetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7846e75e-3a96-4568-6332-08d5d5c957dc X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2018 09:45:08.1236 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fc9e9498-07e8-4b82-b4cf-365bba23cbbf X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0901MB1426 X-Mailman-Approved-At: Wed, 20 Jun 2018 00:55:58 +0200 Subject: Re: [dpdk-dev] [PATCH 1/2] net/pcap: multiple queues fix 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: Tue, 19 Jun 2018 09:45:10 -0000 U2VlIElubGluZSBwcmVmaXhlZCB3aXRoIFtpZG9dDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0t LS0tDQpGcm9tOiBGZXJydWggWWlnaXQgPGZlcnJ1aC55aWdpdEBpbnRlbC5jb20+IA0KU2VudDog TW9uZGF5LCBKdW5lIDE4LCAyMDE4IDExOjI1IEFNDQpUbzogSWRvIEdvc2hlbiA8SWRvQGNnc3Rv d2VybmV0d29ya3MuY29tPg0KQ2M6IGRldkBkcGRrLm9yZw0KU3ViamVjdDogUmU6IFtQQVRDSCAx LzJdIG5ldC9wY2FwOiBtdWx0aXBsZSBxdWV1ZXMgZml4DQoNCk9uIDYvMTYvMjAxOCA0OjM2IFBN LCBpZG8gZ29zaGVuIHdyb3RlOg0KPiBDaGFuZ2Ugb3Blbl9yeC90eF9wY2FwL2lmYWNlIGZ1bmN0 aW9ucyB0byBvcGVuIG9ubHkgYSBzaW5nbGUgDQo+IHBjYXAvZHVtcGVyIGFuZCBub3QgbG9vcCBu dW1fb2ZfcXVldWUgdGltZXMgVGhlIG51bV9vZl9xdWV1ZSBsb29wIGlzIA0KPiBhbHJlYWR5IGFj aGVpdmVkIGJ5IHRoZSBjYWxsZXIgcnRlX2t2YXJnc19wcm9jZXNzDQoNCllvdSBhcmUgcmlnaHQs IHRoYW5rcyBmb3IgZml4aW5nIHRoaXMsIGEgZmV3IGNvbW1lbnRzIGJlbG93Lg0KDQo+IA0KPiBG aXhlczoNCj4gMS4gT3BlbnMgTiByZXF1ZXN0ZWQgcGNhcHMvZ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