From mboxrd@z Thu Jan 1 00:00:00 1970 From: Beilei Xing Subject: [PATCH v8 0/7] net/i40e: GPT-C and GTP-U enabling Date: Thu, 5 Oct 2017 16:14:50 +0800 Message-ID: <1507191297-122088-1-git-send-email-beilei.xing@intel.com> References: <1506700252-34949-1-git-send-email-beilei.xing@intel.com> Cc: andrey.chilikin@intel.com, dev@dpdk.org To: jingjing.wu@intel.com Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 787E37D4E for ; Thu, 5 Oct 2017 10:16:34 +0200 (CEST) In-Reply-To: <1506700252-34949-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 patch set enables RSS/FDIR/cloud filter for GPT-C and GTP-U. v8 changes: - Remove 'enable RSS for new pctype' as it can be set with the configuration in Kirill's patch. - Resolve conflicts. v7 changes: - Distinguish GTP-C request and response message in mbuf description. - Clarify GTP-C response message is not supported. - Version_type 0x30 is invalid for GTP-C, replace with 0x32. - Refine metadata parsing function. - Rework for checking fdir programming status. v6 changes: - Reword description of GTP item and GTP structure, mainly support GTPv1, not include GTPv0 and GTPv2. v5 changes: - Fix code style. - Reword commit log. v4 changes: - Refine fdir related code. - Rework profile metadata parsing function. - Fix code style. v3 changes: - Rework implementation to support the new profile. - Add GTPC and GTPU tunnel type in software packet type parser. - Update ptype info when loading profile. - Fix bug of updating pctype info. v2 changes: - Enable RSS/FDIR/cloud filter dinamicly by checking profile - Add GTPC and GTPU items to distinguish rule for GTP-C or GTP-U - Rework FDIR/cloud filter enabling function Beilei Xing (7): mbuf: support GTP in software packet type parser net/i40e: update ptype and pctype info ethdev: add GTP items to support flow API net/i40e: finish integration FDIR with generic flow API net/i40e: add FDIR support for GTP-C and GTP-U net/i40e: add cloud filter parsing function for GTP net/i40e: enable cloud filter for GTP-C and GTP-U app/test-pmd/cmdline_flow.c | 40 ++ app/test-pmd/config.c | 3 + doc/guides/prog_guide/rte_flow.rst | 17 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 + drivers/net/i40e/i40e_ethdev.c | 505 +++++++++++++++++++++++- drivers/net/i40e/i40e_ethdev.h | 156 +++++++- drivers/net/i40e/i40e_fdir.c | 585 +++++++++++++++++++++++++++- drivers/net/i40e/i40e_flow.c | 503 ++++++++++++++++++++---- drivers/net/i40e/rte_pmd_i40e.c | 6 +- lib/librte_ether/rte_flow.h | 52 +++ lib/librte_mbuf/rte_mbuf_ptype.c | 2 + lib/librte_mbuf/rte_mbuf_ptype.h | 32 ++ 12 files changed, 1774 insertions(+), 131 deletions(-) -- 2.5.5