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 CEA4AA0C48; Wed, 7 Jul 2021 09:23:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9404C4130B; Wed, 7 Jul 2021 09:23:49 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2081.outbound.protection.outlook.com [40.107.95.81]) by mails.dpdk.org (Postfix) with ESMTP id 91B5A406FF for ; Wed, 7 Jul 2021 09:23:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nQNOOjqbsiCmUdYM9NMHTYXjzr2Ib4BlQ95pbU3ABTQblKoNyMsW2FQv1+y8NEedXg/p2FVb3onKwwKQUGlYfBYBwSa97TylDmIPdZO9dEUvXOVsgHOmP1Xe0kNo94fsbTKkUo4J17vFcLpssr98QT66afzHB4TNOvbqJIsb0EoaiLKORZTGzca2FV4GdemtQu/ZTHuPUlvsSpTeGy2PgwpEJZL4QPeIoWOlqDA0kcKESbHB+rb3kEw7N5gSlpY1VxKRKnTjqlaTE9nzVPc0AR5Xf7ZZwo/2XuI+BDzhjUO3+Tl0XEzdqafsNOdV68M+5W2jzDGOMx7aSSqfDQ0pXg== 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=nghgEWvl8BRjk9WLSVSVwr7rgru6y/sm1ay20E6/4ZY=; b=gSX0eMOibV/8mZfuHAxP115nemhEk5OZZTjWtL+9F8IKPwH/R8ZCIAukvT96flHWs3J5KIpdhzZagTw7jA35UWCzQ7zUZjXS9ErUtWvlkUD8LAX4wfQNpR5rNqDxUJnX9rOPk3IRdxsJYhtEiqkpVGJF5jhqqSsBJMSNT9UrxVXBDFVBAQ7KWMyf1mRmKHhnHoBJP9btGgTwZ3Er5VxvckkyZ3ULW8WgFjPvbOCR4TO0++JgNFUY+2XBbD1zCQquBy72Ri+HSUub9/Voc+An2M5nJCw0RheZ3tDb2lwaFtnh/Omb1D9I4MRlUlFowWk9IIy8LXXAmDZlscDptFQQOQ== 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=nghgEWvl8BRjk9WLSVSVwr7rgru6y/sm1ay20E6/4ZY=; b=qb4ho5Uhg4cXrqxwApsmqZIbPxCF9wmzOlx4Q6l7ZCxH3w+jRGY8wzLvCgW/6v289aEfmGAgZIsLx3DmW/bl+cDCNS64uM27AJeCrLcmwaxRmW6Rkp1OB326B/Xteafur6hoImwwZOiqNjaWo09yW9zZPVVIwN/G0K4kircHespi3iDrpCSCNoRxrLy6UxBWOMK3O0A2Z72jeYIASpC0GgkzNBOyTmhuICaoG5scZWOqneQZIEuxgBJ+860jSeyR1zBUomtEm2e932KAAkPSSyNizzJNohu5wxx0Q0j6GBeZwpAn2pplhHXk0T1LbLBlIlwOWLESj0YdmQ8zqvPaZg== Received: from MWHPR1701CA0020.namprd17.prod.outlook.com (2603:10b6:301:14::30) by BYAPR12MB3479.namprd12.prod.outlook.com (2603:10b6:a03:dc::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.26; Wed, 7 Jul 2021 07:23:46 +0000 Received: from CO1NAM11FT019.eop-nam11.prod.protection.outlook.com (2603:10b6:301:14:cafe::2a) by MWHPR1701CA0020.outlook.office365.com (2603:10b6:301:14::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.19 via Frontend Transport; Wed, 7 Jul 2021 07:23:46 +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 CO1NAM11FT019.mail.protection.outlook.com (10.13.175.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 07:23:46 +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; Wed, 7 Jul 2021 07:23:41 +0000 From: Rongwei Liu To: , , , CC: , Date: Wed, 7 Jul 2021 11:09:47 +0300 Message-ID: <20210707080949.1433899-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <5746076.uJIXkIHoMQ@thomas> References: <5746076.uJIXkIHoMQ@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a792073f-8c0c-46d3-ae85-08d941182882 X-MS-TrafficTypeDiagnostic: BYAPR12MB3479: 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: Q8lu4g5fLMZY2RKojPBBU2lrfZmJsGfQmu6s6GAUQZtPWpeGP7iRfaW/y5TxuqNz5PP/HZLKoQ8gkPfGXK4QWFmTV2nomMjUy1t2Z7d/WtX1K9go3yvoZ1dY8OEnfByfQjT42IQsJIUa7WzvsaSAewVGlAla1YJe8dyVlC66uchUMxV6eF4v0PSqRu2G2Okj6/akGzSp2z/w+e6kAdKgDQ4xJf85K5vDEgXPqlKUY59SGB/Fg1CzcB+HVoEQxHkoTlP8vmZqUyhVepyio2YnvyZxbFTqwBn5nznM3IdY3EMZWGDuzON0eos5hvh+cHAaMZM4OIkBrKlC1I+R6Zudjaar7RC0ziCV6SS310qwgI9APPU+waioplTm7tjidoOHnQYvoUBPe51sJvHsEss80w6muI+YwOQVS/KIIysGuziiUgy9O/HmM79PJU+QnHDGO2d422wwJOiRBkJj/80gyuzIiZdMtoLsDumtALRP4a+eaJ27723g6XR3RnBZfCj/x6j0pfe5W2SACcPiOtDqeviV6nnPMUmSjeDtd0Jtob2pojKC+nWe1LuCYJ7XvA3pjVaJbZW9Wj/8C9GL+I8q94au7iLNmPsSPFgrVSGGWK/jA3D81dYRrarR3CaOfZliKXRvJKJdnIivHFCrKlR0P6km1lKytSE5due+zivOVM94DfeBGWdo9Ui+UUP1ml07Id8y6WGKyNJLr9AJzRcscQ== 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)(136003)(396003)(346002)(39860400002)(376002)(36840700001)(46966006)(7696005)(6286002)(356005)(110136005)(36756003)(5660300002)(82310400003)(83380400001)(36860700001)(2616005)(36906005)(54906003)(70206006)(107886003)(426003)(7636003)(86362001)(186003)(316002)(336012)(1076003)(478600001)(82740400003)(55016002)(70586007)(8936002)(47076005)(16526019)(8676002)(4326008)(26005)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2021 07:23:46.3679 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a792073f-8c0c-46d3-ae85-08d941182882 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: CO1NAM11FT019.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3479 Subject: [dpdk-dev] [PATCH v4 0/2] support VXLAN header the last 8-bits 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 the 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): net/mlx5: add VXLAN header the last 8-bits matching support app/testpmd: support VXLAN the 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 | 6 + 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, 293 insertions(+), 67 deletions(-) -- 2.27.0