From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4F44E6A6E for ; Fri, 17 Mar 2017 10:54:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489744468; x=1521280468; h=from:to:cc:subject:date:message-id; bh=GZWNv3VNkczRenQvlRkoSJfeMbJZfph+kNd2a02gSYo=; b=gHVRDzqJrc+IK80IWvv6uiJJKkx4lbU4cM1uxDDeftYMjgQCUYkxwUwt 5sVE+jFpIgWy6EIPpbdHppMwUjplPw==; Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Mar 2017 02:54:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,176,1486454400"; d="scan'208";a="78139839" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.239.129.229]) by fmsmga006.fm.intel.com with ESMTP; 17 Mar 2017 02:54:25 -0700 From: Qi Zhang To: jingjing.wu@intel.com, helin.zhang@intel.com Cc: dev@dpdk.org, Qi Zhang Date: Fri, 17 Mar 2017 06:45:09 -0400 Message-Id: <20170317104512.25969-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.9.3 Subject: [dpdk-dev] [PATCH v2 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, 17 Mar 2017 09:54:28 -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. 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 v3: - Fix compile error when CONFIG_RTE_LIBRTE_I40E_PMD=y in testpmd 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 ++++++++++++++++++++++++++++++ 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_neon.c | 8 +- drivers/net/i40e/i40e_rxtx_vec_sse.c | 14 +- drivers/net/i40e/rte_pmd_i40e.h | 81 +++++++ drivers/net/i40e/rte_pmd_i40e_version.map | 4 + 10 files changed, 730 insertions(+), 19 deletions(-) -- 2.9.3