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 49A09A04A5; Wed, 26 Jan 2022 07:31:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 066DF426DE; Wed, 26 Jan 2022 07:31:06 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 32CAD4069D for ; Wed, 26 Jan 2022 07:31:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643178664; x=1674714664; h=from:to:cc:subject:date:message-id:reply-to:mime-version: content-transfer-encoding; bh=zgOUj0piLU5M4v+EuTaBURsc9SAyA7aFlXZFEs8IWrw=; b=ETJ0Q2J07zpfN7vxG6vhvRd2rAbk2RsbpEL5/nBhZAjb9aBi8xXjTd/4 ZAet/FWOP2jtGJ6QBAaqo69/PVJAeMJZLqzUtcS9o3gmszTwmvNu6E1Tw nLLI6souuowbJQAfTnRE9S5gHZxKrbkyylZEGhPkg3CU5BCVuHb/2MPjU B+vikRYSXgWgVAf8mMB59jl0VaQ8JcJefK7eYbJ7eHpyTimUdBOIxFYyt K/f0caEA4faKd5RZgqGQcjnlJKRYoOTYRfyYxe+RS8Mc/LQJMG+KkU1/q 3W78vojVPZicS2lSoX7EDsyetax7NDs48tnqUH2+NLGH8G8EACocZhwDH g==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="244088876" X-IronPort-AV: E=Sophos;i="5.88,316,1635231600"; d="scan'208";a="244088876" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 22:31:03 -0800 X-IronPort-AV: E=Sophos;i="5.88,316,1635231600"; d="scan'208";a="520688738" Received: from intel-cd-odc-gavin.cd.intel.com ([10.240.178.183]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 22:30:59 -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, Jie Wang Subject: [PATCH v2 0/6] support L2TPv2 for AVF RSS hash and FDIR Date: Wed, 26 Jan 2022 14:30:10 +0800 Message-Id: <20220126063016.2384393-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: 20220124065613.2197436-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. --- 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