From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55417A0C43; Wed, 20 Oct 2021 11:37:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4D2440687; Wed, 20 Oct 2021 11:37:16 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id EAF4840142 for ; Wed, 20 Oct 2021 11:37:15 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10142"; a="289587270" X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="289587270" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 02:37:15 -0700 X-IronPort-AV: E=Sophos;i="5.87,166,1631602800"; d="scan'208";a="494544769" Received: from dpdk.cd.intel.com ([10.240.178.133]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 02:37:11 -0700 From: Jie Wang To: dev@dpdk.org Cc: orika@nvidia.com, ferruh.yigit@intel.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, xiaoyun.li@intel.com, stevex.yang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, wenjun1.wu@intel.com, qi.z.zhang@intel.com, Jie Wang Date: Wed, 20 Oct 2021 17:32:21 +0800 Message-Id: <20211020093224.1410449-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211019030824.932102-1-jie1x.wang@intel.com> References: <20211019030824.932102-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v6 0/3] support PPPoL2TPv2oUDP RSS Hash X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Support IAVF PPPoL2TPv2oUDP RSS Hash. Required to distribute packets based on inner IP src+dest address and TCP/UDP src+dest port. --- v6: * update release notes. * update lib/net/meson.build. * update testpmd_funcs.rst. * update doxygen comments in header files. * update doc/api/doxy-api-index.md. v5: update release notes. v4: * update commit log. * redefine PPP protocol header. * delete l2tpv2_encap. v3: * add testpmd match ppp and l2tpv2 protocol header fields value. * add the code of l2tpv2_encap. * update the title of ethdev patch and adjust the position of the added code. v2: * update the rte_flow.rst and release notes. * update l2tpv2 header format. Jie Wang (3): ethdev: support PPP and L2TPV2 procotol net/iavf: support PPPoL2TPv2oUDP RSS Hash app/testpmd: support L2TPV2 and PPP protocol pattern app/test-pmd/cmdline_flow.c | 251 ++++++++++++++++++++ doc/api/doxy-api-index.md | 2 + doc/guides/prog_guide/rte_flow.rst | 25 ++ doc/guides/rel_notes/release_21_11.rst | 5 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 28 +++ drivers/net/iavf/iavf_generic_flow.c | 131 ++++++++++ drivers/net/iavf/iavf_generic_flow.h | 15 ++ drivers/net/iavf/iavf_hash.c | 108 ++++++++- lib/ethdev/rte_flow.c | 2 + lib/ethdev/rte_flow.h | 66 +++++ lib/net/meson.build | 2 + lib/net/rte_l2tpv2.h | 234 ++++++++++++++++++ lib/net/rte_ppp.h | 35 +++ 13 files changed, 902 insertions(+), 2 deletions(-) create mode 100644 lib/net/rte_l2tpv2.h create mode 100644 lib/net/rte_ppp.h -- 2.25.1