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 B1632A0C4A; Tue, 13 Jul 2021 11:55:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 40759410E6; Tue, 13 Jul 2021 11:55:36 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2075.outbound.protection.outlook.com [40.107.236.75]) by mails.dpdk.org (Postfix) with ESMTP id 8F2AC4069E for ; Tue, 13 Jul 2021 11:55:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=niVULqYljUgYtJAg+kAcpRppi65VXL33+lD3BchLUcqNqeQ4UXoVwu/21mhtDGlxsbNus1QBcaye2WQtRerGCVqxyoWMnczvJJh/myhsWWctFACSV6KOrC3YjdZxAjQ5VjWZu4fslk3itP+rm6cRIewblnIy0WFJ6u2jxQ171UyeDvlUO2isGY007T1fOT8248VtVUJ+71hIEdY+M7I+5ihJkFKHUHzWhHaEKxYrkNhl6HOl26VyVbtnX62IWU9apHnrVHaTd2tqCrlCDVkAIORO/P7f+SBp3Eh1erFFFpE0D+ZavANvY3CC8OB8ArXeMoPXcjqVXyiYOjSJcC3xpg== 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=PbvmfiZ9b3N0+rTTdn4Wp44EWtQGJ/dJEBw5+6JJu6R8UN8VEuRBSpVJZbL5By/PBEeMmK1ma9D3jnM8j76boSrQM/JckW9vyIDPr1e2kL8zep4YzLSDm/N3jXgCgNnjqZ1TiEMaEb+Gn/EvzpHRE9Cep5V+EbTFtu34fIHosLFGcR4ZrdR+4Mdab1MWFwbVSY/CcdIYiIk20htdGVnE2CwkAJCxDBdTAENTX0azBRvVbhzzP1/NFFLzj38vYciRcr8L2eAJlduzR4ntHEI7pPZq4DAFBtGay9IoCaCTFTJP6emLj96dbfym8i0DN4cXAKfwndrJhl7T9r3YN4ZR3A== 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=oo5S8mywYlEcqKIfHfmSo8j/xp/GdOFLoLrLIXwsvAAHeHaadFbRBcnByzNSC6xY+dItsBHQHPEKfMeitGp3l6EJzuCKAIjqbD06vL4C9G0bJQXz3emj/dy/802S+Vh8LSlhcVTTm9m2GbqBVppNe4MrwsyD7mOqnDgRcc62WS0er+bYLmwtIr8/JPpuHU60rwtDwu3cKakelKNDvSEFebzWypqihF2uNx/vsBh4JPcwSk1ShftsGJF+txycTxk14DfNpi7TXYDP1DO9p2JYxiLxcrKWhs+z+TU5mR5GfZSZ+1sO/nJJx8Ke9zEZ1+wCRfqCa/cJe4JFusEC/8VotA== Received: from BN9PR03CA0951.namprd03.prod.outlook.com (2603:10b6:408:108::26) by BN7PR12MB2612.namprd12.prod.outlook.com (2603:10b6:408:29::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.21; Tue, 13 Jul 2021 09:55:34 +0000 Received: from BN8NAM11FT061.eop-nam11.prod.protection.outlook.com (2603:10b6:408:108:cafe::d7) by BN9PR03CA0951.outlook.office365.com (2603:10b6:408:108::26) 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 09:55:34 +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 BN8NAM11FT061.mail.protection.outlook.com (10.13.177.144) 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 09:55:34 +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 09:55:31 +0000 From: Rongwei Liu To: , , , CC: , Date: Tue, 13 Jul 2021 12:55:15 +0300 Message-ID: <20210713095517.54259-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <19edbe9a-bdbe-3c4c-17fa-de70f312927f@oktetlabs.ru> References: <19edbe9a-bdbe-3c4c-17fa-de70f312927f@oktetlabs.ru> 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: e1dfb3bd-3cc6-49f4-06f8-08d945e45ba5 X-MS-TrafficTypeDiagnostic: BN7PR12MB2612: 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: fQVKoK7i/vUVyOkmR1L0ry8bmltPKwOLCL0QSqpE4FklYZCP5gwD6BP6p1HlptlbbqQmu8VlHkc031s6wK8F3hXcIkZBePuewkXMw0Nml2fhWmV+SQea4aSR3OA7u81Emyu5flroRoEIRluX7UCFYyFAvAgye6rsqFJYDZwkxyOhW1nAH8N8dyOXtgjaUIbgobS9c+ht3nzVIBYybRUgh+I4UTQiG+RMa91CbqlFIBRe6l3Lt556uXEPE7u1DOlCzfKVcOAJkDhj/wcxcs91sQxoDy9kqKBI/5l/dwasBd7ndVqUAjTsllgWWmnO+f1maaqJ6BSbbZk4totWbOWdj2wxkiuuvaaYJDOhnmn9xY3TKAE6lY7r4YCymqXgnJ0C9g0Qkv09LRXykokUOWfV1lenAP0I17SrqnWI0leooSvDTnHwVXb63ldfYxUEqOYUxaklHPwQTuxKwcD/p3IXqjAfcTC5T9jYuNXExmU08fQkQM9rPb5r52wOyBRaQhSoM8lrh8j/s5I25ZiaB9VcQRpm1YNdDsxzhT1D37JK1UVZg9ZQ6KNfdIGbBUa4LeDlUCAZfIWrxxo/zcspQ2FueUz5DQoiHsecQlr0xc8N6AylcnfOI+q/1hcZ1FOFQ+yP5ZB+3dpaFNN+mQYBdqFfwWlcLP01Gr+F9/U+Uyz4XZb8mhVXojDI7kYfv5k2dc9mfyUU1SmjvfRUzvgXlYbLC2Ihigh69gt429mBZaR8wPY= 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)(39860400002)(136003)(346002)(376002)(396003)(46966006)(36840700001)(8676002)(107886003)(55016002)(2616005)(83380400001)(336012)(6286002)(16526019)(2906002)(86362001)(4326008)(54906003)(478600001)(110136005)(426003)(1076003)(26005)(36906005)(186003)(6666004)(82740400003)(356005)(70206006)(82310400003)(5660300002)(70586007)(34020700004)(36860700001)(7696005)(316002)(8936002)(36756003)(47076005)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2021 09:55:34.0258 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1dfb3bd-3cc6-49f4-06f8-08d945e45ba5 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: BN8NAM11FT061.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR12MB2612 Subject: [dpdk-dev] [PATCH v5 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