From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 10C40567C for ; Thu, 13 Apr 2017 11:50:53 +0200 (CEST) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v3D9mkWC060235 for ; Thu, 13 Apr 2017 05:50:52 -0400 Received: from e23smtp06.au.ibm.com (e23smtp06.au.ibm.com [202.81.31.148]) by mx0a-001b2d01.pphosted.com with ESMTP id 29sv15ygkw-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 13 Apr 2017 05:50:52 -0400 Received: from localhost by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 13 Apr 2017 19:50:50 +1000 Received: from d23relay10.au.ibm.com (202.81.31.229) by e23smtp06.au.ibm.com (202.81.31.212) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 13 Apr 2017 19:50:49 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay10.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v3D9oeqD15728742 for ; Thu, 13 Apr 2017 19:50:48 +1000 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v3D9oCjJ000371 for ; Thu, 13 Apr 2017 19:50:12 +1000 Received: from ADMINIB2M8Q79C ([9.186.60.148]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v3D9oAD5032681; Thu, 13 Apr 2017 19:50:10 +1000 From: "Chao Zhu" To: "'Qi Zhang'" , Cc: , , , References: <20170407032505.61691-1-qi.z.zhang@intel.com> <20170412135534.69083-1-qi.z.zhang@intel.com> In-Reply-To: <20170412135534.69083-1-qi.z.zhang@intel.com> Date: Thu, 13 Apr 2017 17:50:01 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQEwao8ZtHOWhrDsEaI0t/Azc5BjNgMN8Fdcou8x9QA= Content-Language: zh-cn X-TM-AS-MML: disable x-cbid: 17041309-0040-0000-0000-00000306CD84 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17041309-0041-0000-0000-00000C7E8D01 Message-Id: <000601d2b43b$5ca19850$15e4c8f0$@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-04-13_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1704130082 Subject: Re: [dpdk-dev] [PATCH v9 0/3] net/i40e: configurable PTYPE mapping 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, 13 Apr 2017 09:50:54 -0000 > -----Original Message----- > From: Qi Zhang [mailto:qi.z.zhang@intel.com] > Sent: 2017=C4=EA4=D4=C212=C8=D5 21:56 > To: ferruh.yigit@intel.com > Cc: jingjing.wu@intel.com; helin.zhang@intel.com; = jianbo.liu@linaro.org; > chaozhu@linux.vnet.ibm.com; dev@dpdk.org; Qi Zhang = > Subject: [PATCH v9 0/3] net/i40e: configurable PTYPE mapping >=20 > The patch set create new APIs that help to change the mapping from hardware > defined packet type to software defined packet type for i40e NICs. > Keep these APIs private is because currently they are only meaningful = for > devices that support dynamic PTYPE configuration, which may not be a general > device feature. >=20 > v9: >=20 > - Rebase to dpdk-next-net >=20 > v8: >=20 > - Fix compile error on for ARM vPMD > - Rebase to 17.05-rc1 >=20 > v7: >=20 > - Add Altivec vPMD support. >=20 > v6: >=20 > - Update testpmd_func.rst. >=20 > v5: >=20 > - Rebase to dpdk-next-net. >=20 > v4: >=20 > - Add comment to explain the "user defined" ptype. >=20 > v3: >=20 > - Fix compile error when CONFIG_RTE_LIBRTE_I40E_PMD=3Dy in testpmd >=20 > v2: >=20 > - Add testpmd command line: > ptype mapping get > ptype mapping replace > ptype mapping reset > ptype mapping update >=20 > - Rename APIs to rte_pmd_i40e_ptype_mapping_xxx >=20 > - Add missing API declaration in rte_pmd_i40e_version.map >=20 > - Add missing ptype in check_invalid_pkt_type >=20 > - Fix couple typo error >=20 > Qi Zhang (3): > net/i40e: enable per dev PTYPE mapping table > net/i40e: configurable PTYPE mapping > app/testpmd: add CL for ptype mapping configure >=20 > app/test-pmd/cmdline.c | 372 > ++++++++++++++++++++++++++++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 36 +++ > drivers/net/i40e/i40e_ethdev.c | 1 + > drivers/net/i40e/i40e_ethdev.h | 5 + > drivers/net/i40e/i40e_ethdev_vf.c | 2 +- > drivers/net/i40e/i40e_rxtx.c | 30 ++- > drivers/net/i40e/i40e_rxtx.h | 3 +- > drivers/net/i40e/i40e_rxtx_vec_altivec.c | 22 +- > drivers/net/i40e/i40e_rxtx_vec_neon.c | 8 +- > drivers/net/i40e/i40e_rxtx_vec_sse.c | 14 +- > drivers/net/i40e/rte_pmd_i40e.c | 230 +++++++++++++++++ > drivers/net/i40e/rte_pmd_i40e.h | 86 +++++++ > drivers/net/i40e/rte_pmd_i40e_version.map | 4 + > 13 files changed, 784 insertions(+), 29 deletions(-) >=20 > -- > 2.9.3 Acked-by: Chao Zhu