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 C22F8A0547; Thu, 21 Oct 2021 12:50:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87BE84116A; Thu, 21 Oct 2021 12:50:00 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 359AB410E2 for ; Thu, 21 Oct 2021 12:49:59 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="216167064" X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="216167064" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 03:49:58 -0700 X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="484152245" Received: from dpdk.cd.intel.com ([10.240.178.133]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 03:49:54 -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: Thu, 21 Oct 2021 18:49:21 +0800 Message-Id: <20211021104924.1586172-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211021100527.1582052-1-jie1x.wang@intel.com> References: <20211021100527.1582052-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v9 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. --- v9: * update comments and commit log. * remove unnecessary '__rte_packed'. v8: * added '__rte_packed' in new protocol header. * update the comment in new protocol header file. V7: * update ini file. * modify irregular spelling. 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 L2TPv2 and PPP 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/nics/features/default.ini | 2 + doc/guides/nics/features/iavf.ini | 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 | 67 ++++++ lib/net/meson.build | 2 + lib/net/rte_l2tpv2.h | 234 ++++++++++++++++++ lib/net/rte_ppp.h | 34 +++ 15 files changed, 906 insertions(+), 2 deletions(-) create mode 100644 lib/net/rte_l2tpv2.h create mode 100644 lib/net/rte_ppp.h -- 2.25.1