From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 54678FBD2 for ; Thu, 30 Mar 2017 10:30:59 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 30 Mar 2017 01:30:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,245,1486454400"; d="scan'208";a="1128822293" Received: from unknown (HELO dpdk9.sh.intel.com) ([10.239.129.31]) by fmsmga001.fm.intel.com with ESMTP; 30 Mar 2017 01:30:57 -0700 From: Beilei Xing To: jingjing.wu@intel.com Cc: helin.zhang@intel.com, bernard.iremonger@intel.com, dev@dpdk.org, beilei.xing@intel.com Date: Thu, 30 Mar 2017 16:29:50 +0800 Message-Id: <1490862594-139036-1-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH v6 0/4] add support for MPLS tunnel filter 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: Thu, 30 Mar 2017 08:31:00 -0000 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. v6 changes: Change MPLS configuration with the FW modification. v5 changes: Rework MPLS parse function. Add replace filter flag for MPLS. v4 changes: Move replace functions to i40e_ethdev.c. 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 | 190 ++++++++++++++++++++++-- drivers/net/i40e/i40e_ethdev.h | 11 ++ drivers/net/i40e/i40e_flow.c | 220 +++++++++++++++++++++++++++- lib/librte_ether/rte_flow.h | 51 +++++++ 8 files changed, 536 insertions(+), 14 deletions(-) -- 2.5.5