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 8E15042B95; Thu, 25 May 2023 09:41:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 610EE40DDB; Thu, 25 May 2023 09:41:17 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2042.outbound.protection.outlook.com [40.107.93.42]) by mails.dpdk.org (Postfix) with ESMTP id 962CE40A82 for ; Thu, 25 May 2023 09:41:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m69Easex7rJaubHYfAMQBaWZaSehAr6XlGyYBFDiOnVyEqc/NEk4jFOZC8uRoaag2n6NY7Vz1++SQrQQTh1y9pxYyN+zXdokG30NW0zV3sqaTDqPM9uU2HufAzdKHX7mvzSH+rcCv0zoYjA3PKgPLyezMxG1UrAofZ83cLIovwKxDkzBR3MsxnDGK6vOvMWwNVYR8eEqp7dHEzWCuii6k4IZ1veQ+XKUUpIeMwx/chNBgEfPHNnWxgatcniXFZr0GE/kOuv+yz1zT/5CPczJSa4dw4itMUdSTIQ/9AHSWFHwvyexmSdfyUjoUzC9je5I1te7N9b1OWL0IJnBL8V5cg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i6BTV5NkelNceneXnCoxvR+iSd8yzalcgF+vT9Yay5o=; b=ZJacXXSvB0y+YeOZBSOtwyX9bvexexyD0eFzFwxuEbcgixj/zVzplzCSfq6zbKwL6PuzqdKQvP+FBlUz0poJhP84fUgt38B9tIuaCu5JyyrQ4HrVQBi+GrNqFuxKfE3ESG8B3mrtOVqmY1zApPlTrcAeX9YQ09U9MUPKdQrlWaNLxF06cNcp2KvdgCr+kdrzqRgyK8P19et/MNyL0PSWEZOKirA6/r68WqWtiXMHADHyRnStocGjp6i8o8ASr/VqgPgmv1R5SIl6/NMRhYhugbQ8TVVtjDufDnurVaucf0INwSO746tyxoiqrJrSqfLOmOJIvemShI0Ge+/M8jfKwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=i6BTV5NkelNceneXnCoxvR+iSd8yzalcgF+vT9Yay5o=; b=pclMcpyNnDeLK86usfOimPNENMB1YfCJpWhM0IOe2i/tD7py9+GdH4yfAs7HlMU00fxrYnvu8IvZg59ohtmJj8Gqxy8/g113yo0Nz0RcVidNk1kex6gvRwfo8Ijgr2nlotIwNoYqx8dN6q1pO5fsfPuDKb7AWrPOaudlLW0GZ3wvNVZdI5DxoP/URBFNQ3Ey3FPErE2yuBWDZuHDC1etIWkjrHUlJzc41LZzfXh7TIfz/dpuq1t0XO/mKvm2BNomfatLpKRqBfzkZrFFOuV8S0rLR74koKaxvxJnhu6PrvaRM1Ol/w/rBu57IVo3cxsZ8fdI7Ka9/KpGMThG4Hub2g== Received: from BYAPR05CA0057.namprd05.prod.outlook.com (2603:10b6:a03:74::34) by CH2PR12MB4086.namprd12.prod.outlook.com (2603:10b6:610:7c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15; Thu, 25 May 2023 07:41:14 +0000 Received: from CO1NAM11FT018.eop-nam11.prod.protection.outlook.com (2603:10b6:a03:74:cafe::b4) by BYAPR05CA0057.outlook.office365.com (2603:10b6:a03:74::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.15 via Frontend Transport; Thu, 25 May 2023 07:41:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT018.mail.protection.outlook.com (10.13.175.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.16 via Frontend Transport; Thu, 25 May 2023 07:41:14 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 25 May 2023 00:41:02 -0700 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 25 May 2023 00:41:00 -0700 From: Dong Zhou To: , , CC: , Subject: [PATCH v3 0/3] add support for infiniband BTH match Date: Thu, 25 May 2023 10:40:38 +0300 Message-ID: <20230525074041.2370704-1-dongzhou@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20230524100805.2215154-1-dongzhou@nvidia.com> References: <20230524100805.2215154-1-dongzhou@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT018:EE_|CH2PR12MB4086:EE_ X-MS-Office365-Filtering-Correlation-Id: f63179cd-3303-46e9-791e-08db5cf36af7 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U0eITAqm9ibuWTPTHBNCm6GuECnokSF5nxAedgRu2NFshi19yUGpA5QJgjEaZiRsCNVeud7IKjK/ujzMkAXuLpzfY4w1ShAxs6tHNLvvj/GjYoqdhkoFQ91hPai42Wc95H7GO6EJeOn+Wvf9AZ7/qs2MDFkjj1N1MY6ZbixW8xPZ1oQMDtMPMPI/T1RmeVcoLfQTUuo1PyzV5qP7hTUMlQ/kvO9Z/8CjO9+0DTP5AFFTNJUP188CwnAwDCpDBdD1WdcSUnUB8PebxqrOZhktLSeg2hdJ7vAw/i7a79WLzStPZ4BO4ehMggV37q3CXJAJGrAbc4ON7bAMrJNL4HLLptgXnVMszaQaEDFQT4m9OjGqBbbWN8l6eIFxBXX76olCANQIVT0yd9UmpwYHMojTo7sY0cbx6z/cKHL9iwwyl/TPgufdsU9WB6/B4wnSrVizYpM/QdU7qNOE7iJae5s200O5aW+5Lt95mEq3WwknwATN6UKucaeq0l+/v/CoU5AU3BPcrRbHv6YfdgC0xDekr4U5bRljBOb+Zes+rXxU3A4fg4ciKfFWJ5mHdh3yyQKevhpyMMEt4cV6awwGqIfbM/sxdwzaRf5btYNcNaCkVzAvWZJvh81e/1mMHw7zOirLra1Qawi1eKm/+gafEMtrvenok3SQICchWChWfjFB9mzOmpt7GhfV3+Jt1y2AxnOtva8FzvNVaAE2MXEUAIGs8rh5yYmcBAtTT0HvozAJkt4= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(376002)(396003)(346002)(136003)(39860400002)(451199021)(40470700004)(36840700001)(46966006)(6666004)(47076005)(110136005)(478600001)(40460700003)(2616005)(83380400001)(426003)(336012)(36860700001)(40480700001)(86362001)(55016003)(7636003)(356005)(82740400003)(7696005)(107886003)(1076003)(36756003)(26005)(16526019)(6286002)(186003)(41300700001)(8936002)(316002)(82310400005)(5660300002)(8676002)(2906002)(54906003)(70206006)(70586007)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2023 07:41:14.2906 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f63179cd-3303-46e9-791e-08db5cf36af7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT018.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4086 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 Add new rte item to match the infiniband BTH in RoCE packets. v2: - Change "ethernet" name to "Ethernet" in the commit log. - Add "RoCE" and "IB" 2 words to words-case.txt. - Add "rte_byteorder.h" header file in "rte_ib.h" to fix compile errors. - Add "Acked-by" labels in the first ethdev patch. v3: - Do rebase to fix the patch apply failure. - Add "Acked-by" label in the second net/mlx5 patch. Dong Zhou (3): ethdev: add flow item for RoCE infiniband BTH net/mlx5: add support for infiniband BTH match net/mlx5/hws: add support for infiniband BTH match app/test-pmd/cmdline_flow.c | 58 +++++++++++ devtools/words-case.txt | 2 + doc/guides/nics/features/default.ini | 1 + doc/guides/prog_guide/rte_flow.rst | 7 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++ drivers/common/mlx5/mlx5_prm.h | 5 +- drivers/net/mlx5/hws/mlx5dr_definer.c | 76 ++++++++++++++- drivers/net/mlx5/hws/mlx5dr_definer.h | 2 + drivers/net/mlx5/mlx5_flow.h | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c | 102 ++++++++++++++++++++ drivers/net/mlx5/mlx5_flow_hw.c | 1 + lib/ethdev/rte_flow.c | 1 + lib/ethdev/rte_flow.h | 27 ++++++ lib/net/meson.build | 1 + lib/net/rte_ib.h | 70 ++++++++++++++ 15 files changed, 363 insertions(+), 3 deletions(-) create mode 100644 lib/net/rte_ib.h -- 2.27.0