From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8C29A47CD for ; Fri, 25 Mar 2016 08:48:21 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 25 Mar 2016 00:48:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,389,1455004800"; d="scan'208";a="918532037" Received: from dpdk06.sh.intel.com ([10.239.128.225]) by orsmga001.jf.intel.com with ESMTP; 25 Mar 2016 00:48:19 -0700 From: Jianfeng Tan To: dev@dpdk.org Cc: Jianfeng Tan , konstantin.ananyev@intel.com, helin.zhang@intel.com, bruce.richardson@intel.com Date: Fri, 25 Mar 2016 08:47:44 +0800 Message-Id: <1458866867-39582-1-git-send-email-jianfeng.tan@intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1456795416-118189-1-git-send-email-jianfeng.tan@intel.com> References: <1456795416-118189-1-git-send-email-jianfeng.tan@intel.com> Subject: [dpdk-dev] [PATCH v4 0/3] packet type X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2016 07:48:21 -0000 This patch will work on below patch series. - [PATCH v9 01/11] Add API to get packet type info v4: - refine the API to return 0 intead of ENOTSUP, and doc and note updated. - rte_eth_dev_get_ptype_info -> rte_eth_dev_get_supported_ptypes v3: - em ptype check: (l4_tcp || l4_udp) -> (l4_tcp && l4_udp). - avoid rte_be_to_cpu_16 for each packet by adding proper macros. - with --parse-ptype specified, use sw parser mandatorily. - enable i40e vector driver by default. v2: - Add patchset dependence in commit log. - Change hardcoded 0 to RTE_PTYPE_UNKNOWN. - More accurate em_parse_type. - Add restrictions in EM forwarding functions. - Define cb directly to avoid too many function calls when do analyze. - Some typo fixed. - Change the position to call rte_eth_dev_get_ptype_info after rte_eth_dev_start(). Patch 1: refine rte_eth_dev_get_supported_ptypes. Patch 2: add an option in l3fwd. Patch 3: enable vector pmd in i40e by default. Signed-off-by: Jianfeng Tan Acked-by: Konstantin Ananyev Jianfeng Tan (3): ethdev: refine API to query supported packet types examples/l3fwd: fix using packet type blindly config: enable vector driver by default config/common_base | 2 +- doc/guides/nics/overview.rst | 2 +- doc/guides/rel_notes/release_16_04.rst | 15 +++++ doc/guides/sample_app_ug/l3_forward.rst | 6 +- examples/l3fwd/l3fwd.h | 14 ++++ examples/l3fwd/l3fwd_em.c | 109 ++++++++++++++++++++++++++++++++ examples/l3fwd/l3fwd_em.h | 10 ++- examples/l3fwd/l3fwd_em_hlm_sse.h | 17 +++-- examples/l3fwd/l3fwd_em_sse.h | 9 ++- examples/l3fwd/l3fwd_lpm.c | 65 +++++++++++++++++++ examples/l3fwd/main.c | 55 ++++++++++++++++ lib/librte_ether/rte_ethdev.c | 3 +- lib/librte_ether/rte_ethdev.h | 9 ++- 13 files changed, 299 insertions(+), 17 deletions(-) -- 2.1.4