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 4A441A04A6; Wed, 9 Feb 2022 10:39:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2D6E41141; Wed, 9 Feb 2022 10:39:12 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id D357341101 for ; Wed, 9 Feb 2022 10:39:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644399551; x=1675935551; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kJQc1AMvgAF+0tdN4Y7+CkGVVTwhnRHxQFARp2jHMZk=; b=nfqjgvf7sWLQLT/7ThOWXx4MapVogpklPR9FDjj0GK2f9+XHlZn0gaL5 v/Rux3b1WVVIlo+ObhLmwhBpqCjEUlYh6W086z4+lApSsWIwtEq0sLMHl SRBzNKM5XaL5KOk/C8w401mhDKDTLOP7NtQvhOz6zthNckqSdinzzvDI8 dD3IiwMfP46ckTohR3KIdzxROr5X/XjJdN8pLC/eiheuWUUcrId+slKWa ilpusnKzsv5xSHYCl0hrwAAYVgHFqgOy8eXEaozhyJhPYEJCNnV7b2NzX bkBoCwFeH1Nc6qAbd3KFccJYxFKRKMoZwEa1rEV/AVol1OxlenFxtbkE9 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="229137244" X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="229137244" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 01:39:09 -0800 X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="525924983" Received: from intel-cd-odc-gavin.cd.intel.com ([10.240.178.138]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 01:39:05 -0800 From: Jie Wang To: dev@dpdk.org Cc: stevex.yang@intel.com, orika@nvidia.com, aman.deep.singh@intel.com, ferruh.yigit@intel.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com, olivier.matz@6wind.com, Jie Wang Subject: [PATCH v5 0/6] support L2TPv2 for AVF RSS hash and FDIR Date: Wed, 9 Feb 2022 17:38:51 +0800 Message-Id: <20220209093857.79364-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208083849.510136-1-jie1x.wang@intel.com> References: <20220208083849.510136-1-jie1x.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Support IAVF L2TPv2(include PPP over L2tpv2) RSS hash and flow director. Required to distribute packets based on outer MAC src address and L2TPv2 session ID. Support IAVF PPPoL2TPv2oUDP flow director. Required to distribute packets based on inner IP src+dest address and TCP/UDP src+dest port. --- v5: * remove the comment of new macros. * update cmd_help_long_parsed() and testpmd_funcs.rst. * update RSS hash/FDIR input set. * rebase the main branch code. v4: * update new macros in ethdev. * update commit log. * rebase the main branch code. v3: * update new macros in ethdev. * update commit log. * rebase the main branch code. v2: * upadte release notes. * add comment for RTE_ETH_RSS_L2TPV2. * update ipv6 l2tpv2 flow item. * rebase the main branch code. Jie Wang (6): ethdev: add L2TPv2 RSS offload type net: fix L2TPv2 common header app/testpmd: add 6 types of L2TPv2 message common/iavf: add session ID fields for L2TPv2 net/iavf: support L2TPv2 for AVF HASH net/iavf: support L2TPv2 for AVF FDIR app/test-pmd/cmdline.c | 16 +- app/test-pmd/cmdline_flow.c | 313 ++++++++++++++++---- app/test-pmd/config.c | 3 +- doc/guides/rel_notes/release_22_03.rst | 14 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 39 ++- drivers/common/iavf/virtchnl.h | 4 + drivers/net/iavf/iavf.h | 2 + drivers/net/iavf/iavf_fdir.c | 169 +++++++++-- drivers/net/iavf/iavf_generic_flow.c | 34 +++ drivers/net/iavf/iavf_generic_flow.h | 10 + drivers/net/iavf/iavf_hash.c | 81 ++++- lib/ethdev/rte_ethdev.h | 2 + lib/net/rte_l2tpv2.h | 33 ++- 13 files changed, 615 insertions(+), 105 deletions(-) -- 2.25.1