From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id D7808A0C43;
	Mon, 18 Oct 2021 11:34:25 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6E9AF40141;
	Mon, 18 Oct 2021 11:34:25 +0200 (CEST)
Received: from mga18.intel.com (mga18.intel.com [134.134.136.126])
 by mails.dpdk.org (Postfix) with ESMTP id 0BADC4003C
 for <dev@dpdk.org>; Mon, 18 Oct 2021 11:34:21 +0200 (CEST)
X-IronPort-AV: E=McAfee;i="6200,9189,10140"; a="215139629"
X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="215139629"
Received: from orsmga008.jf.intel.com ([10.7.209.65])
 by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 18 Oct 2021 02:34:21 -0700
X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="493515395"
Received: from dpdk.cd.intel.com ([10.240.178.133])
 by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 18 Oct 2021 02:34:17 -0700
From: Jie Wang <jie1x.wang@intel.com>
To: dev@dpdk.org
Cc: orika@nvidia.com, ferruh.yigit@intel.com, thomas@monjalon.net,
 andrew.rybchenko@oktetlabs.ru, xiaoyun.li@intel.com, stevex.yang@intel.com,
 jingjing.wu@intel.com, beilei.xing@intel.com, wenjun1.wu@intel.com,
 qi.z.zhang@intel.com, Jie Wang <jie1x.wang@intel.com>
Date: Mon, 18 Oct 2021 17:33:49 +0800
Message-Id: <20211018093352.892788-1-jie1x.wang@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20211015095823.701188-1-jie1x.wang@intel.com>
References: <20211015095823.701188-1-jie1x.wang@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v4 0/3] support PPPoL2TPv2oUDP RSS Hash
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Support IAVF PPPoL2TPv2oUDP RSS Hash. Required to distribute packets
based on inner IP src+dest address and TCP/UDP src+dest port.

---
v4:
 * update commit log.
 * redefine PPP protocol header.
 * delete l2tpv2_encap.
v3:
 * add testpmd match ppp and l2tpv2 protocol header fields value.
 * add the code of l2tpv2_encap.
 * update the title of ethdev patch and adjust the position of
   the added code.

v2:
 * update the rte_flow.rst and release notes.
 * update l2tpv2 header format.

Jie Wang (3):
  ethdev: support PPP and L2TPV2 procotol
  net/iavf: support PPPoL2TPv2oUDP RSS Hash
  app/testpmd: support L2TPV2 and PPP protocol pattern

 app/test-pmd/cmdline_flow.c            | 251 +++++++++++++++++++++++++
 doc/guides/prog_guide/rte_flow.rst     |  25 +++
 doc/guides/rel_notes/release_21_11.rst |   5 +
 drivers/net/iavf/iavf_generic_flow.c   | 131 +++++++++++++
 drivers/net/iavf/iavf_generic_flow.h   |  15 ++
 drivers/net/iavf/iavf_hash.c           | 108 ++++++++++-
 lib/ethdev/rte_flow.c                  |   2 +
 lib/ethdev/rte_flow.h                  |  66 +++++++
 lib/net/rte_l2tpv2.h                   | 214 +++++++++++++++++++++
 lib/net/rte_ppp.h                      |  35 ++++
 10 files changed, 850 insertions(+), 2 deletions(-)
 create mode 100644 lib/net/rte_l2tpv2.h
 create mode 100644 lib/net/rte_ppp.h

-- 
2.25.1