From mboxrd@z Thu Jan 1 00:00:00 1970 From: Beilei Xing Subject: [PATCH v3 0/4] add support for MPLS tunnel filter Date: Tue, 28 Mar 2017 14:40:04 +0800 Message-ID: <1490683208-38096-1-git-send-email-beilei.xing@intel.com> References: <1490266669-122137-1-git-send-email-beilei.xing@intel.com> Cc: helin.zhang@intel.com, bernard.iremonger@intel.com, dev@dpdk.org To: jingjing.wu@intel.com Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B7C4536E for ; Tue, 28 Mar 2017 08:41:14 +0200 (CEST) In-Reply-To: <1490266669-122137-1-git-send-email-beilei.xing@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset adds support for MPLSoGRE and MPLSoUDP tunnel filters. I40e NICs can't recongnize MPLS tunnel packets by default, so need to load a profile to FW first, then MPLS tunnel packets can be recongnized with packet type 61 and 63. It depends on pipeline personalization profile support and changes of tunnel filter function. v3 changes: Add big_buffer condition to this patchset. Change some descriptions for new MPLS and GRE items. Fix default mask error for MPLS label. Beilei Xing (4): ethdev: add MPLS and GRE items app/testpmd: add MPLS and GRE fields to flow command net/i40e: add MPLS parsing function net/i40e: enable tunnel filter for MPLS app/test-pmd/cmdline_flow.c | 47 ++++++ app/test-pmd/config.c | 2 + doc/guides/prog_guide/rte_flow.rst | 21 ++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 + drivers/net/i40e/i40e_ethdev.c | 171 +++++++++++++++++++-- drivers/net/i40e/i40e_ethdev.h | 10 ++ drivers/net/i40e/i40e_flow.c | 222 +++++++++++++++++++++++++++- lib/librte_ether/rte_flow.h | 51 +++++++ 8 files changed, 518 insertions(+), 14 deletions(-) -- 2.5.5