From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 487022D13 for ; Thu, 15 Nov 2018 01:06:07 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2018 16:06:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,234,1539673200"; d="scan'208";a="106333419" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 14 Nov 2018 16:06:06 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 14 Nov 2018 16:06:06 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 14 Nov 2018 16:06:05 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.161]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.199]) with mapi id 14.03.0415.000; Thu, 15 Nov 2018 08:06:03 +0800 From: "Zhang, Qi Z" To: "Yigit, Ferruh" CC: "thomas@monjalon.net" , "dev@dpdk.org" , "Lin, Xueqin" Thread-Topic: [PATCH v3 2/2] net/pcap: enable data path for secondary Thread-Index: AQHUfFQERj4LEn/1f0ibJtWa3B9iq6VPXw+AgACV/9A= Date: Thu, 15 Nov 2018 00:06:03 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532E4437@SHSMSX103.ccr.corp.intel.com> References: <20181105210823.38757-1-qi.z.zhang@intel.com> <20181114195647.196648-1-qi.z.zhang@intel.com> <20181114195647.196648-3-qi.z.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGM3ZjBlMTgtOTg3ZS00ZDRlLWJmMWUtYzNjMWI5YjU1NzkxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR1JBbjNuSHpTUVA3bzN0WE1RMTc4aHdudTN3N3YyTUFXdE5YUTF1dFVaeEx1d2dwZnJFSkpzZXNVd3Ywcjd3QiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 2/2] net/pcap: enable data path for secondary 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, 15 Nov 2018 00:06:07 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0K PiBTZW50OiBXZWRuZXNkYXksIE5vdmVtYmVyIDE0LCAyMDE4IDM6MDggUE0NCj4gVG86IFpoYW5n LCBRaSBaIDxxaS56LnpoYW5nQGludGVsLmNvbT4NCj4gQ2M6IHRob21hc0Btb25qYWxvbi5uZXQ7 IGRldkBkcGRrLm9yZzsgTGluLCBYdWVxaW4gPHh1ZXF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