From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1FBEA046B for ; Mon, 22 Jul 2019 19:14:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8AB3A1BF39; Mon, 22 Jul 2019 19:14:10 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 246B71BF35 for ; Mon, 22 Jul 2019 19:14:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jul 2019 10:03:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,295,1559545200"; d="scan'208";a="192786715" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga004.fm.intel.com with ESMTP; 22 Jul 2019 10:03:56 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.229]) by IRSMSX103.ger.corp.intel.com ([169.254.3.45]) with mapi id 14.03.0439.000; Mon, 22 Jul 2019 18:03:55 +0100 From: "Iremonger, Bernard" To: "Yigit, Ferruh" , "viveksharma@marvell.com" , "dev@dpdk.org" CC: "intoviveksharma@gmail.com" Thread-Topic: [dpdk-dev] [PATCH] app/testpmd: support QinQ strip offload Thread-Index: AQHVPHOw+7Y7crkVuUWrkboBj1OAoKbSG0SAgAR0PxCAABnZAIAAEZbQgAAC7YCAABXpsA== Date: Mon, 22 Jul 2019 17:03:55 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260DD2F75@IRSMSX108.ger.corp.intel.com> References: <1563349511-27968-1-git-send-email-viveksharma@marvell.com> <0a9838fc-e6f0-f96c-6a5e-b447c032a4b7@intel.com> <8CEF83825BEC744B83065625E567D7C260DD2C48@IRSMSX108.ger.corp.intel.com> <092c4b9c-a04a-3a3a-a677-049058251296@intel.com> <8CEF83825BEC744B83065625E567D7C260DD2DE4@IRSMSX108.ger.corp.intel.com> <42a80f4a-6993-f544-4b54-ea1b24d0c511@intel.com> In-Reply-To: <42a80f4a-6993-f544-4b54-ea1b24d0c511@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWU3ZGRmMzgtZTkyMi00YzQ5LWI1N2UtOGQ2MmY4MzZhMzA5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9TVkVweWZvdkVpcWh1amowa1lYYnZlZEtpaTdNUTVMVDhtdXlhakFuVjBVaUlFbm1qZUUyNUpmdTI5STZmMTAifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: support QinQ strip offload 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgRmVycnVoLA0KDQo8c25pcD4NCg0KPiA+Pj4+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQ QVRDSF0gYXBwL3Rlc3RwbWQ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