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 532A1A04AD; Tue, 8 Feb 2022 09:39:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC74A410FC; Tue, 8 Feb 2022 09:39:07 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 06E33410F6 for ; Tue, 8 Feb 2022 09:39:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644309547; x=1675845547; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PMzfWqmz8RB4fW1cBkKc70pMP3vAO6YX9PpYodshlWE=; b=bASZ9N+db5RFEtOT4Uj1dqCkgkCg+99MOgyyDTLwV8HFHl3hTelIENkN n3hXVTQTntoDdhwCRmYCb4NSuF8vdoThm5XQyRRwfhWhyPQ9J/2wWFnbp sA66qvxYDcZbhqYcmv+EnmFY2Qnwf/KxX0KxZyAwnQfbZb1dkNOAfmFqg ohta7H159uii57maqdgVzcdkG4KV6xzyWJ+2Kt7THytoWoMTdKLIq4SYR cTGwGphdIjniZNE2zfcMcj4s6JNwUWB0+XsqQEHYC/o2V71uc0XAqTf97 g+9r6aqjsYPtOpwmX7grNCp7J2peW1fBmMuxfvMFGR7gGAgxxcyGA4ICJ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10251"; a="249110101" X-IronPort-AV: E=Sophos;i="5.88,352,1635231600"; d="scan'208";a="249110101" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 00:39:05 -0800 X-IronPort-AV: E=Sophos;i="5.88,352,1635231600"; d="scan'208";a="540503834" Received: from intel-cd-odc-gavin.cd.intel.com ([10.240.178.138]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 00:39:02 -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 v4 0/6] support L2TPv2 for AVF RSS hash and FDIR Date: Tue, 8 Feb 2022 16:38:43 +0800 Message-Id: <20220208083849.510136-1-jie1x.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220129062434.2455711-1-jie1x.wang@intel.com> References: <20220129062434.2455711-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. --- 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 | 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 | 6 + lib/net/rte_l2tpv2.h | 33 ++- 12 files changed, 589 insertions(+), 98 deletions(-) -- 2.25.1