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 0E0C0A0C45; Tue, 19 Oct 2021 05:08:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E77F140142; Tue, 19 Oct 2021 05:08:52 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 130CF4003E for ; Tue, 19 Oct 2021 05:08:50 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10141"; a="228361203" X-IronPort-AV: E=Sophos;i="5.85,383,1624345200"; d="scan'208";a="228361203" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 20:08:50 -0700 X-IronPort-AV: E=Sophos;i="5.85,383,1624345200"; d="scan'208";a="493896883" Received: from dpdk.cd.intel.com ([10.240.178.133]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 20:08:46 -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: Tue, 19 Oct 2021 11:08:21 +0800 Message-Id: <20211019030824.932102-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211018093352.892788-1-jie1x.wang@intel.com> References: <20211018093352.892788-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 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. --- 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/guides/prog_guide/rte_flow.rst | 25 +++ doc/guides/rel_notes/release_21_11.rst | 4 + 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/rte_l2tpv2.h | 214 +++++++++++++++++++++ lib/net/rte_ppp.h | 35 ++++ 10 files changed, 849 insertions(+), 2 deletions(-) create mode 100644 lib/net/rte_l2tpv2.h create mode 100644 lib/net/rte_ppp.h -- 2.25.1