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 8A35EA04C1 for ; Wed, 20 Nov 2019 10:05:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E5F512C23; Wed, 20 Nov 2019 10:05:42 +0100 (CET) Received: from m13-215.163.com (m13-215.163.com [220.181.13.215]) by dpdk.org (Postfix) with ESMTP id 99B502BF5 for ; Wed, 20 Nov 2019 10:05:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=v0zAD 58OyllTthwZOKUi/38gtfka0rszKZd+jW52ZGE=; b=h3cku54ONBGtv9AdXELoC ltfBFrN6DwQchKu3cHVMmvpcmgT+CWcopv8rDPfbxGZ2S0fiXjMWpsggyZ72lGkB tI6OrO0HGMuM0IXkd7xYrs1uD3wy44aSfg9WJdMatE5gnmw++QdaI3S9JsXT88Du x5u2xhq1vQcuox9QrD+7iA= Received: from zhongdahulinfan$163.com ( [218.107.55.252] ) by ajax-webmail-wmsvr205 (Coremail) ; Wed, 20 Nov 2019 17:05:38 +0800 (GMT+08:00) X-Originating-IP: [218.107.55.252] Date: Wed, 20 Nov 2019 17:05:38 +0800 (GMT+08:00) From: =?utf-8?B?6IOh5p6X5biG?= To: "yahui.cao@intel.com" Cc: "users@dpdk.org" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20180820(5a019900) Copyright (c) 2002-2019 www.mailtech.cn 163com In-Reply-To: <69D26CF227A0D2439032A967C0D64F5C0C4BD4DE@SHSMSX101.ccr.corp.intel.com> References: <26bcc01e.b611.16e7dea5680.Coremail.zhongdahulinfan@163.com> <53475309.aa13.16e87c44464.Coremail.zhongdahulinfan@163.com> <69D26CF227A0D2439032A967C0D64F5C0C4BD4DE@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Message-ID: <197eef9d.b806.16e880f5d0f.Coremail.zhongdahulinfan@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: jMeowAB34+3iAdVdGVueAA--.5994W X-CM-SenderInfo: x2kr0wpgdk3zplqit0i6rwjhhfrp/xtbBZAxz5VQHHsujJwABs9 X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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" VGhhbmtzIFlhaHVpLAoKCllvdXIgaW5mb3JtYXRpb24gaGVscHMgbWUgYSBsb3QuIFdlJ2xsIHRy eSB3b3JrYXJvdW5kIHRvIGF2b2lkIGlzc3VpbmcgMiBydWxlcyB3aXRoIGRpZmZlcmVudCBpbnB1 dCBzZXQgZm9yIHRoZSBzYW1lIGZsb3cgdHlwZS4KCgpCZXN0IHJlZ2FyZHMsCkxpbmZhbiBIdQoK Ck9uIDExLzIwLzIwMTkgMTY6MDLvvIxDYW8sIFlhaHVpPHlhaHVpLmNhb0BpbnRlbC5jb20+IHdy b3Rl77yaCkhpIExpbmZhbiwKCkk0MGUgSFcgZG9lc24ndCBzdXBwb3J0IGlzc3VlIDIgcnVsZSB3 aXRoIGRpZmZlcmVudCBpbnB1dCBzZXQgdHlwZSwgZm9yIHRoZSBzYW1lIFBDVFlQRS4gU29mdHdh cmUgYnkgZGVmYXVsdCB3aWxsIHRha2UgdGhlIGZpcnN0IHJ1bGUgYXMgdGhlIGRlZmF1bHQgaW5w dXQgc2V0IHR5cGUgZm9yIHRoaXMgUENUWVBFLiBBbmQgSWYgdGhlIHNlY29uZCBydWxlJ3Mga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