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 AD582A034D; Sat, 29 Jan 2022 07:25:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C5DD40687; Sat, 29 Jan 2022 07:25:29 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id D815840041 for ; Sat, 29 Jan 2022 07:25:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643437528; x=1674973528; h=from:to:cc:subject:date:message-id:reply-to:mime-version: content-transfer-encoding; bh=YheweexO0TTKfsMDHjZm7iqD2K93YPwiYIvf2X0JUXg=; b=l0cAEReFnRyJgb6sTh7lxX9wdOb321jgb1y/tJyWn0QNThsK32wojvkI q1uJi2aKwzm2cycLqMsbX7OONl6P9thfFLZXzeU4cBwBV4ulLxIf010ps mQ1komkuj+SQOwHspmTojg37A97BToj2/2zPOpuSBi8asfieZqe92mGZq XEfQ/5pmeiH43JrJrM3Pn7sMblJWbOtS6yyyp+p+PE88bbP/C0WwmO7qJ xT+q4/24t432/WD2a4fnfoqranHljHI+VfF+2+JTYgmzFhd/zA0/mvQd7 pJbvI7XEkyOS4GTdtAk3QBeF0Rg89whY8PsY4pI/4Lv2gHNWzTg1xicDH g==; X-IronPort-AV: E=McAfee;i="6200,9189,10241"; a="234635334" X-IronPort-AV: E=Sophos;i="5.88,326,1635231600"; d="scan'208";a="234635334" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 22:25:26 -0800 X-IronPort-AV: E=Sophos;i="5.88,326,1635231600"; d="scan'208";a="496351905" Received: from intel-cd-odc-gavin.cd.intel.com ([10.240.178.183]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 22:25:23 -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 v3 0/6] support L2TPv2 for AVF RSS hash and FDIR Date: Sat, 29 Jan 2022 14:24:28 +0800 Message-Id: <20220129062434.2455711-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 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: , Reply-To: 20220126063016.2384393-1-jie1x.wang@intel.com 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. --- 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 | 10 +- app/test-pmd/cmdline_flow.c | 313 +++++++++++++++++++++---- app/test-pmd/config.c | 3 +- doc/guides/rel_notes/release_22_03.rst | 15 ++ drivers/common/iavf/virtchnl.h | 4 + drivers/net/iavf/iavf.h | 2 + drivers/net/iavf/iavf_fdir.c | 174 +++++++++++--- drivers/net/iavf/iavf_generic_flow.c | 34 +++ drivers/net/iavf/iavf_generic_flow.h | 10 + drivers/net/iavf/iavf_hash.c | 83 ++++++- lib/ethdev/rte_ethdev.h | 7 + lib/net/rte_l2tpv2.h | 33 ++- 12 files changed, 590 insertions(+), 98 deletions(-) -- 2.25.1