From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2017 01:16:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,480,1500966000"; d="scan'208";a="1227303057" Received: from unknown (HELO dpdk9.sh.intel.com) ([10.67.118.52]) by fmsmga002.fm.intel.com with ESMTP; 05 Oct 2017 01:16:10 -0700 From: Beilei Xing To: jingjing.wu@intel.com Cc: andrey.chilikin@intel.com, dev@dpdk.org Date: Thu, 5 Oct 2017 16:14:50 +0800 Message-Id: <1507191297-122088-1-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1506700252-34949-1-git-send-email-beilei.xing@intel.com> References: <1506700252-34949-1-git-send-email-beilei.xing@intel.com> Subject: [dpdk-dev] [PATCH v8 0/7] net/i40e: GPT-C and GTP-U enabling 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, 05 Oct 2017 08:16:34 -0000 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