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 C5B8EA0A0C; Mon, 5 Jul 2021 11:43:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F7424068C; Mon, 5 Jul 2021 11:43:33 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2050.outbound.protection.outlook.com [40.107.100.50]) by mails.dpdk.org (Postfix) with ESMTP id 5E7C74003C for ; Mon, 5 Jul 2021 11:43:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NBJdscnpx83WiyvAjkAuZCRxw6ACLUpt+a9ICQg0F1N1NSouW/RDx8L42JgzGvI768KD0gTOywlWXqx5jA+pFnFpc4tWKw5fAmhiIeJzuQkNnhzWabMz1sYcBH2/KiQhAek+NgEnUMpwWdem5eAMZuyFpzVO4KGQfV9B+ss9EO4/rDJ5fh8qHABC1Lyt7gyit9ToOtK3Oxf8KYxcAVkhcl8Nog+Tf+AwRcKZLOvArIC63Vi6GKleoQOEubXx99kFP6HHnCKFsPqKWN9xbqh86pvHtYWR7cihTXDmi835SlqgzhCWZj/JHFAIOB5X3y3El/DbvEVmXlsLZ2oI7IybqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RkTGg7j5vrJ1SYa9N3p5qbLQ/a6Q+6wuv/WLACl9Hgc=; b=Eq6cq9qiODIluOFh5vb5T+z+1bLBz3m+iIdt2+yaWhwC2LGYXZoDqW227VCQCz0sywG9zU2xUENeaF7uSB7vuIQwO5rf8VX8OFiP5WHaHqxOCnr1N39jJbAoU07DxcJAavCzCb9oJv60JkbmQIYpDAhcq4TOfugntMtEI7xPqFRxEtslBpTq4T1MUSu7yRgNVr7LsEFn8gx8wG6KLseIu/S5+xppLgVDcXiijAkOEK6ludSnJc22GGz188OVDDbyjum7r5WRsvDc/qY5Q+EnrPEPdjDeFGTrr2etx9zlyb3ERCH5BLgNd8XL1sGTV18LvHl+33sCNN/H9A4RglRgTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RkTGg7j5vrJ1SYa9N3p5qbLQ/a6Q+6wuv/WLACl9Hgc=; b=PVA8jMDGt0R9XUWEv6rdJFYg2e+GqIo/3gUoHTNWNSW7ZIrj9gaQGjPzw6h2WdbT4fZBXqSVLjutoqniPDCH227L0yxAPkUf81SHPWGMWX2fCdAjRheiZJ6b+hEBGp0vk56w/eCztccwnTpGbnYAVXZzUDXItrmdCzrRABaefHWUZ09Ft5FEze3I9w4uQg5QtQiGL802PvkK3NNwQ81tSjVNUongGzwzXdC/pTvPlwsZkR7gF/f0H7657+Qw3zoRyKMidhvvXB+uTsphKyGMwtWx2Nb+Kq1NKuTtEj/38SMQYylACi8Kn5diR28MEKxJQpJO5eoEipRQ77docEYmEg== Received: from DM5PR16CA0048.namprd16.prod.outlook.com (2603:10b6:4:15::34) by BN6PR12MB1394.namprd12.prod.outlook.com (2603:10b6:404:1e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Mon, 5 Jul 2021 09:43:30 +0000 Received: from DM6NAM11FT016.eop-nam11.prod.protection.outlook.com (2603:10b6:4:15:cafe::2b) by DM5PR16CA0048.outlook.office365.com (2603:10b6:4:15::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.21 via Frontend Transport; Mon, 5 Jul 2021 09:43:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT016.mail.protection.outlook.com (10.13.173.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4287.22 via Frontend Transport; Mon, 5 Jul 2021 09:43:30 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 5 Jul 2021 09:43:28 +0000 From: rongwei liu To: , , , CC: , Date: Mon, 5 Jul 2021 12:50:18 +0300 Message-ID: <20210705095020.1120216-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0a3cce87-2248-4fd6-544f-08d93f9958ff X-MS-TrafficTypeDiagnostic: BN6PR12MB1394: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kYkf72jvFVqg43JQVTWebbizvcFGmBORKDGRTh0TnvWJasnS4P6Y4ijo48VbaCdvPysjJLj+yEDnAuaj5OUxkDFwLv/IdDfgKVWH19VCrYP3kUjgYwPytzf5iBxHQQt1Cvw9EOII6vzew7KNRfF5HqGiSSoU5F42F7vfAzaEPNew6NFnZY8ccaS9C0WHTs3QoPT7qmJpNbN8F7SY1rNToV+JGOjGJD0hDapLzrNJxxJ8Hui9cfuS5T/yPRssvEZbVDaguYgFT6G8hXzT6hP8AS6A9URNxNnpvNasa5KOnrsX5o6rCHj3+w/43aBgP/BIF9RgCLqcopVdxbzWpe0cM5L/m9zZeaj8JbEMH+HmNDWBmYdH9XaVOt+FIq/SCksRXqjYfiEdBgO0+T4fxxF9zJkudn4pbWZi/89BTP4mP7dJUFMOxvQI+dEYgHOAYIk7icZ7NHuDL7VI07e58tbdewurauxHEFNEkM/VC9P9AmxXi4EVm6J6ddmLwDipmKLkB4mkESq/L2oIOlHj2bVs9TYmloTU5DNOVdGJrLKSC7WAY7NC35OU3TCfFZy7TlaH7ZPbhhxY4mx4YWqCy9p3JDvlvQlOtP44f5ZRyTBVdshkV4JWFZrfRgV83Mu4aoIYq3e7e5uV4kbIUxQvKTsSTCciFSo37xpb+SFrZXo1xUHcCxbZuhE/XJmg/+3V6LBuc7MzefYOJLQwMz62SKKpQg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(136003)(39860400002)(36840700001)(46966006)(86362001)(1076003)(356005)(478600001)(8936002)(83380400001)(2616005)(426003)(8676002)(316002)(36906005)(7636003)(336012)(2906002)(70206006)(70586007)(186003)(26005)(36756003)(47076005)(55016002)(6666004)(7696005)(54906003)(82740400003)(82310400003)(107886003)(110136005)(6286002)(5660300002)(36860700001)(4326008)(16526019); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2021 09:43:30.4150 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a3cce87-2248-4fd6-544f-08d93f9958ff X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT016.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1394 Subject: [dpdk-dev] [PATCH v2 0/2] support VXLAN header last 8-bits reserved field matching 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 Sender: "dev" This update adds support for the VXLAN last 8-bits reserved field matching when creating sw steering rules. Add a new testpmd pattern field 'last_rsvd' that supports the last 8-bits matching of VXLAN header. rongwei liu (2): drivers: add VXLAN header the last 8-bits matching support app/testpmd: support VXLAN last 8-bits field matching app/test-pmd/cmdline_flow.c | 9 ++ app/test-pmd/util.c | 5 +- doc/guides/nics/mlx5.rst | 11 +- doc/guides/rel_notes/release_21_08.rst | 7 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1 + drivers/common/mlx5/mlx5_devx_cmds.c | 3 + drivers/common/mlx5/mlx5_devx_cmds.h | 6 + drivers/common/mlx5/mlx5_prm.h | 41 ++++- drivers/net/mlx5/linux/mlx5_os.c | 77 ++++++++++ drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_flow.c | 26 +++- drivers/net/mlx5/mlx5_flow.h | 4 +- drivers/net/mlx5/mlx5_flow_dv.c | 160 ++++++++++++++------ drivers/net/mlx5/mlx5_flow_verbs.c | 3 +- drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 6 +- 15 files changed, 294 insertions(+), 67 deletions(-) -- 2.27.0