From mboxrd@z Thu Jan 1 00:00:00 1970 From: Qi Zhang Subject: [PATCH v7 0/3] net/i40e: configurable PTYPE mapping Date: Mon, 3 Apr 2017 21:55:13 -0400 Message-ID: <20170404015516.7784-1-qi.z.zhang@intel.com> Cc: jingjing.wu@intel.com, helin.zhang@intel.com, dev@dpdk.org, Qi Zhang To: ferruh.yigit@intel.com Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AAB502E8A for ; Tue, 4 Apr 2017 03:04:43 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. v7: - Add Altivec vPMD support. v6: - Update testpmd_func.rst. v5: - Rebase to dpdk-next-net. v4: - Add comment to explain the "user defined" ptype. v3: - Fix compile error when CONFIG_RTE_LIBRTE_I40E_PMD=y in testpmd v2: - Add testpmd command line: ptype mapping get ptype mapping replace ptype mapping reset ptype mapping update - Rename APIs to rte_pmd_i40e_ptype_mapping_xxx - Add missing API declaration in rte_pmd_i40e_version.map - Add missing ptype in check_invalid_pkt_type - Fix couple typo error Qi Zhang (3): net/i40e: enable per dev PTYPE mapping table net/i40e: configurable PTYPE mapping app/testpmd: add CL for ptype mapping configure app/test-pmd/cmdline.c | 372 ++++++++++++++++++++++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 36 +++ drivers/net/i40e/i40e_ethdev.c | 230 +++++++++++++++++ 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 | 18 +- drivers/net/i40e/i40e_rxtx_vec_neon.c | 8 +- drivers/net/i40e/i40e_rxtx_vec_sse.c | 14 +- drivers/net/i40e/rte_pmd_i40e.h | 86 +++++++ drivers/net/i40e/rte_pmd_i40e_version.map | 4 + 12 files changed, 779 insertions(+), 29 deletions(-) -- 2.9.3