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 0D657A04A6; Mon, 24 Jan 2022 07:56:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8867D40C35; Mon, 24 Jan 2022 07:56:51 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id EDAA740040 for ; Mon, 24 Jan 2022 07:56:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643007410; x=1674543410; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5YtG+pq0zG5JrkYBRPd6qbWhB4g8gnFyPcd4K7rowHU=; b=FSvwn1Tn8inikb5W+dRJMNg6RlZg+DSpuK8/pAxB7ryJ5V4Lz5noA237 gEDSTWIcQVEagIpngZWQElEwx19z6oVzRhGJX1B9iwSNHvhLNNvjuYeWa 2WCWnup8vOCO7Yh31yXOuanhRu+rrPjZ8NJELVUPrgg0Y2do8Ez4cF+qH MsQxdxEjmWp/YZ/rnmH6ZjnxuU+UBP5EEwt75vSwe8UMbEUs1aFA9PFru SOQmUeaQP5UoMTv55NrXLCbbXZg1TVvPVgWhtXcPzl3QgatVKmm1ZAt1l Z/Sku5pb/CfNSD+9KOMJmPS+ur6iR9wVJt6dLaz6ISlIRRIQG2H0GaMqc A==; X-IronPort-AV: E=McAfee;i="6200,9189,10236"; a="246195260" X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="246195260" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2022 22:56:49 -0800 X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="478959472" Received: from intel-cd-odc-gavin.cd.intel.com ([10.240.178.183]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2022 22:56:45 -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 0/6] support L2TPv2 for AVF RSS hash and FDIR Date: Mon, 24 Jan 2022 14:56:07 +0800 Message-Id: <20220124065613.2197436-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: , 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. 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 | 14 ++ 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 | 3 + lib/net/rte_l2tpv2.h | 33 ++- 12 files changed, 585 insertions(+), 98 deletions(-) -- 2.25.1