From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id F2DB42B87 for ; Fri, 7 Apr 2017 04:34:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491532471; x=1523068471; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=LV3PREfDfsOMCqvUI/AU7fTNJpSVEjBEcrd1CfNXUhk=; b=cepoZkABIRpc8FNOJ3II2/zUPNcgGnXnMeYlOdUBSA8tTwg2v924aVHI KGQ47MXmRJ/pPghqCWlhEJJK9oQ2Jw==; Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 19:34:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,162,1488873600"; d="scan'208";a="74789499" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.239.129.229]) by orsmga004.jf.intel.com with ESMTP; 06 Apr 2017 19:34:28 -0700 From: Qi Zhang To: jingjing.wu@intel.com, helin.zhang@intel.com Cc: ferruh.yigit@intel.com, jianbo.liu@linaro.org, chaozhu@linux.vnet.ibm.com, dev@dpdk.org, Qi Zhang Date: Thu, 6 Apr 2017 23:25:02 -0400 Message-Id: <20170407032505.61691-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170404015516.7784-1-qi.z.zhang@intel.com> References: <20170404015516.7784-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v8 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: Fri, 07 Apr 2017 02:34:31 -0000 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. v8: - Fix compile error on for ARM vPMD - Rebase to 17.05-rc1 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