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 A7B26A0C4B; Fri, 15 Oct 2021 11:58:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D068410F1; Fri, 15 Oct 2021 11:58:46 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id DF6A340692 for ; Fri, 15 Oct 2021 11:58:44 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10137"; a="227840724" X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="227840724" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 02:58:44 -0700 X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="492394795" Received: from dpdk.cd.intel.com ([10.240.178.133]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 02:58:40 -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, Jie Wang Date: Fri, 15 Oct 2021 17:58:20 +0800 Message-Id: <20211015095823.701188-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211012102508.275790-1-jie1x.wang@intel.com> References: <20211012102508.275790-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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. --- 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.c | 244 +++++++++++++++ app/test-pmd/cmdline_flow.c | 396 +++++++++++++++++++++++++ app/test-pmd/testpmd.h | 22 ++ doc/guides/prog_guide/rte_flow.rst | 25 ++ doc/guides/rel_notes/release_21_11.rst | 5 + 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 | 117 ++++++++ lib/net/rte_l2tpv2.h | 214 +++++++++++++ 11 files changed, 1277 insertions(+), 2 deletions(-) create mode 100644 lib/net/rte_l2tpv2.h -- 2.25.1