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 16EE0A0C51; Tue, 13 Jul 2021 14:09:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 871D8410E6; Tue, 13 Jul 2021 14:09:39 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2065.outbound.protection.outlook.com [40.107.237.65]) by mails.dpdk.org (Postfix) with ESMTP id 556B2410DF for ; Tue, 13 Jul 2021 14:09:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EUcbWLfAG6DuMYBATtdmo/FUeJJhXx0sw/Fj34Jfs6rJ7LwSYa6IddHGPKmELtCMoJ9TdaJlyD1ZldwCIFeg+RVv6uMQYWaqf88Uwy6cpHeh8AeFnMf8ez7BWDjwWxSlLsQ0+0n5IhpUBQurfpqIMHt244xmmTpORKWYWU4iYrIYlHPmX2Nawl3c1Yq2HHhbTsZ12Pt3pmxRxCDBZOMO0SQpzJ8QCCXFUvR9btQWYA1H/WElqF+fzb7J9mI6q8bl9wnL3HPszFUPWZcQ/IRcgHx57fAzz0idaRfAq1eiqg4ISS7wPJmK6T+wUqpxw0kg+TbHA1JPeg9putAGaJcjjQ== 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=lllet/HV9vUwPxp+Ux+x81lMNn1jmEtq4Su73mYQfMI=; b=jYmU+pBkqd94MUNC40H5+eN7bMil9Kp0LpMYMFT/fz0b1edykRfPt95fExDXiiJ+WLZ98d6iZZ7tZSGSBgrVUGIV9vxcTL59rloiR7+44JXRrHjEJwoAaK55ob7fhlPp6Vr5+voxgu5eEcKelvTGYofDOGhkbx7dD1jWFe3GvTreQPAA6zuzJ8Qc23SNL6uVNDqeGjQBM+6qwY475JSvyrF4a6VBmWmjcD3Ij9nLWoEdGPghGIsa7BMyEhurtMiYq9rFrPvx4AeL66tR5ZtGQ4I+9hHig9x+XmProJDJnrC8p0+gwaiGkgksH/3m5B08p8w/14HQwCZZJ74Nmc7qZw== 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=lllet/HV9vUwPxp+Ux+x81lMNn1jmEtq4Su73mYQfMI=; b=kC8AwkDmUNODxo7Vw9nUTrHH/Ddant5vVPgr8cJKK2ECClm0tJqp2Od8tP5qRn5T1jsGluEJ7rIXXEETHyqV/5s7v3gno0PqDbajfPd8+XPYds49Qwg06yxP+Ermlse32Mb/18gjV3EYH04PKcoBxHNwgUmbrK4Z7ZHzCeFDLvWNh2sQERwccbQDZqH3aZT90Y8eeOg7mqVtmxalZc7LV2IDW0uVfdZmYFk91LRVN7V841IM17El4AIpKr1SL9znnTfMzJyYq6aqVMCmK3XOFZZCykZufMwbVWgJJAUTRIPnwy5sDZUjmSsRI2CFtKSGeiW7+Vi40ttzEGOdjPyLuw== Received: from BN6PR18CA0015.namprd18.prod.outlook.com (2603:10b6:404:121::25) by DM8PR12MB5446.namprd12.prod.outlook.com (2603:10b6:8:3c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20; Tue, 13 Jul 2021 12:09:35 +0000 Received: from BN8NAM11FT020.eop-nam11.prod.protection.outlook.com (2603:10b6:404:121:cafe::1a) by BN6PR18CA0015.outlook.office365.com (2603:10b6:404:121::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Tue, 13 Jul 2021 12:09:35 +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 BN8NAM11FT020.mail.protection.outlook.com (10.13.176.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4308.20 via Frontend Transport; Tue, 13 Jul 2021 12:09:35 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 13 Jul 2021 12:09:33 +0000 From: Rongwei Liu To: , , , CC: , Date: Tue, 13 Jul 2021 15:09:18 +0300 Message-ID: <20210713120920.131354-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] 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: 328cbb91-8a45-455d-cf0b-08d945f714be X-MS-TrafficTypeDiagnostic: DM8PR12MB5446: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q4zP8s1RAZWo2egJJdwDGMwT9QxphcuImDNEqol6x+fAtEFPCFT5Krx5dtcmrjii7MgMWX+wZt4w8iWLrb2+USmxNja+9ndZRgUmyRwY+/7E7afsKU3N8dkpSl80/9WK4O6Wwd7QIi7dOki6B7YJmVhhplV2AV5WqUDpgyIFm5zocqZwXmyI8vjyCbcC/ngt1a9/Ebg8WiXYetfkQUhbxXpNt6GFSbErmaK7cUVxKwf9gkOlVdfMYpbJU/KeGXYSRKbCVod1iW45y5O5NZbX/fjRlb5C1guHQq3UikwEdDejibndx9RRpuPLUuOjm61hsYPowXXRJyjacM6MnEqdiHnVBbEJP9OXpSyrJ8p1UC0k1wOPrgrrT31DHnRFs/UvSWqnIpQ9289rkEqfoChy4HZsLf6kKcn2cB70dlJSk83hZKZoXrysdpkMY561Ihou9y5gZDtkjDYkMmkuFXk08W5OVemQ7K3/tt0vtYTIP+vp2Is4/3nVtHdb514OtU8+WV3Mi75NBABFOiiQVm/o2cxON2saat9apjPFlBakvTCBSelb62hQuJqsQ27qOgXIUDVmiCGlekpPZd9gqqVX55Ksh7f1bIae4GftQWRqJNYY5qUyGXNp+KdaOAqRawaa+47Jf0+US+asETNhkVtpEGsIbntFeUPYsSQqKN7UHmF7QAFLqYavnGfeEy++KNhJqecgqi7PLu8c6ZN6+neI6dV07atJBqGMRuaane6115U= 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)(39860400002)(376002)(396003)(346002)(46966006)(36840700001)(316002)(110136005)(70206006)(6286002)(55016002)(4744005)(2906002)(86362001)(426003)(36860700001)(36756003)(70586007)(7696005)(16526019)(36906005)(82740400003)(1076003)(47076005)(34020700004)(107886003)(8936002)(186003)(54906003)(82310400003)(8676002)(4326008)(26005)(5660300002)(7636003)(336012)(6666004)(478600001)(356005)(83380400001)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2021 12:09:35.5184 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 328cbb91-8a45-455d-cf0b-08d945f714be 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: BN8NAM11FT020.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5446 Subject: [dpdk-dev] [PATCH v7 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 VXLAN the last 8-bits reserved field matching when creating sw steering rules. Rongwei Liu (2): net/mlx5: support matching on the reserved field of VXLAN app/testpmd: support matching the reserved filed for VXLAN app/test-pmd/cmdline_flow.c | 10 ++ 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, 294 insertions(+), 67 deletions(-) -- 2.27.0