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 28A85A04C1 for ; Wed, 20 Nov 2019 09:02:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1A9D27D; Wed, 20 Nov 2019 09:02:18 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B55C1235 for ; Wed, 20 Nov 2019 09:02:17 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2019 00:02:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,221,1571727600"; d="scan'208";a="408032116" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 20 Nov 2019 00:02:16 -0800 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 Nov 2019 00:02:16 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 20 Nov 2019 00:02:16 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.127]) with mapi id 14.03.0439.000; Wed, 20 Nov 2019 16:02:14 +0800 From: "Cao, Yahui" To: =?utf-8?B?6IOh5p6X5biG?= , "users@dpdk.org" Thread-Topic: [dpdk-users] i40e: The same PCTYPE with different input sets Thread-Index: AQHVn3ZHCnlnmq8TQkmkmDR8kieC36eTr0uw Date: Wed, 20 Nov 2019 08:02:14 +0000 Message-ID: <69D26CF227A0D2439032A967C0D64F5C0C4BD4DE@SHSMSX101.ccr.corp.intel.com> References: <26bcc01e.b611.16e7dea5680.Coremail.zhongdahulinfan@163.com> <53475309.aa13.16e87c44464.Coremail.zhongdahulinfan@163.com> In-Reply-To: <53475309.aa13.16e87c44464.Coremail.zhongdahulinfan@163.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzExYTQyZDMtMTM5My00Y2JiLWI2MjgtZjg3Zjg3MzNhN2YyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiKytFSlwvZitWVVF1ZU1MTXI2NVwveVByMmtsUUpDMllJbU5xbnRiWE96Q3o3ajVOUzRFZDR6dVErVWE4UVNDUFY5In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 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-users] i40e: The same PCTYPE with different input sets X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" SGkgTGluZmFuLA0KDQogICAgICAgIEk0MGUgSFcgZG9lc24ndCBzdXBwb3J0IGlzc3VlIDIgcnVs ZSB3aXRoIGRpZmZlcmVudCBpbnB1d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