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 E87E042AD3; Thu, 11 May 2023 09:55:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8EC642D62; Thu, 11 May 2023 09:55:49 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 5D5D442D5D for ; Thu, 11 May 2023 09:55:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A8CLH0A8ZqKqxzosk6EG75P/FxAVNhb8W9wSo45AduxI3OlCJn6BmQfnCsvyJSnOVh5qDjifUh9sfbhqCaTAMEKd2bcfSFFMcj9bgtZyODMVRBUMcs06vPZ/iIvKk3i+ib0gXxX/ctWGvJw8aWDdq1cyRpOKLdzQnFGys0IHwAId36EZc1YvIRX4OWPQ7vwBg0/6DjVbveJ8aklJ+qmQFmY1S4RmBOh/EXFWOprQzL2nSgu/PGI5Vp3aepgOzWZ6M1sz1z5/ztS1B1eEE7XHX0oWxdI2wvvrV+Xf3/pDHygpXGeW1J7vTK2uyJV0zk+eGQk8OoNr8xyde2p3RBbFrQ== 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=jJ33ZvB50zoWSPFS8JsJloooUXXGd6J3vzDYeRauprY=; b=JrPnr9eFxBQf1IwSrt9bR8HyC+dPL7n3NL1rNkH+8UvDKocadLJJdt4Q1iNfF5BZeusbwT55AXB7ueGTaTsA5LMSZzmwUXi5yyZBMo9r3kdvQ53lNlMXLwjARZ9MPOFl0KuCHyjz11mUmr6Ks9sgN7evNdXxSyBJcTbpBhprH4fD5nytYcaic94xavSU68uEEAibHgV8rZ5DoNHKJVauQV7yXWD6yljaXZRLl0O/iFCHHYmAyinlWZSVKc5Zd6kKnaP9M50gHZXXsGngc7Scr3xvGZPhARqe7zQ5U/gE44gpjD1HV/sBDb/Q6halx0vAtVtAgo3wElA9H3gjoxrx0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=jJ33ZvB50zoWSPFS8JsJloooUXXGd6J3vzDYeRauprY=; b=NyIyvld6R05LGs3fYoQRuUkp3r9/9qGUMT3pVa1MplGBvq8q/R117RwiC0CMYJDknKvO34Tv+/lJaAAyouXM2ZuEJfpZDdirS6ZKTwSsz/SYkGhgNl6b/EuP61IGqd9iTFmP2N3Hb7VhAXQE8NJgyGfb2UQI2GFDf0dIBowRgSgyX0GLxbX0oCDThu59aVpIfWbr/FtmgKst2HkWfkZPbkhYFfNM1154XLbseDMDY0t1BctqmOQtd552NQcqv9iRTXZr67OtQkydWDQa6dVUMttps211nFc0LUJtVzl7qJluQO5BJX5zQB4nurlUwcBGFYDrXIQVmI4pqEyWhssBVA== Received: from BN1PR13CA0010.namprd13.prod.outlook.com (2603:10b6:408:e2::15) by DM4PR12MB5722.namprd12.prod.outlook.com (2603:10b6:8:5d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.33; Thu, 11 May 2023 07:55:28 +0000 Received: from BN8NAM11FT040.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e2:cafe::9e) by BN1PR13CA0010.outlook.office365.com (2603:10b6:408:e2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.20 via Frontend Transport; Thu, 11 May 2023 07:55:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT040.mail.protection.outlook.com (10.13.177.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.21 via Frontend Transport; Thu, 11 May 2023 07:55:27 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 11 May 2023 00:55:17 -0700 Received: from nvidia.com (10.126.231.37) 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, 11 May 2023 00:55:15 -0700 From: Dong Zhou To: , , CC: , Subject: [PATCH v1 0/3] add support for infiniband BTH match Date: Thu, 11 May 2023 10:55:01 +0300 Message-ID: <20230511075504.664871-1-dongzhou@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: [10.126.231.37] 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: BN8NAM11FT040:EE_|DM4PR12MB5722:EE_ X-MS-Office365-Filtering-Correlation-Id: c32a6edd-7734-437e-4fdf-08db51f515f5 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: InO0em8rpDtwwt9Ev6y4k19LiK4RrFcIQXhUOZFIeIPNyR4DOFGQVl4Ec4sFLV9qEV4N+XK43rURzg6TJ/4WRKyeKlQXIdtf4Gu7rgukqlSKP1l215/iK8tMt0LE6kzssAOWdfPD1qZVZ3dH5CoxMFV/aMeJZlatquwd3uW//FHxtKU5H/sub7FvST5D9k6KzvbCyMxZc/xyYdJuiP/K1XPeLISkRP36YDVJlk54NBk3qwbZsI+G4YqBRW0suyxjtWlyjHwxq/Lys7XISOVqjc79jD0u/AflhvSYJSgk5nF+X3Yyq7CUjHtbwmmoGxQoIcqjThLzN1HKnDU9vxKH8E4FsP31XJ+8tC39LoS4vndXCviOo1tZMBFsAZ/zvZPh4AfIp7MNX62OV1ZT3usVtp2y6wPmYAVYQrsgo6IjKs+bQtKShvVQZFkFbZnQ3Z+GPBf7/3RKKYC3PnwraCcaBCphQtoeRIzBSM+KIhY0P2KMLBnzaWKPErrmZfh6EUjeDX2sQDGMBhO/3kVKwCme9YMIKeAZpNOPvmAnh70HUnM5PFr70so2PoyE1QzkesjWJL50QY150fSqPqtcWoqG2L2vWRAsXoFkDOd4TkssvHC591EASdMxzo71Gn0jTCp5UjYjDmpA4s5uoBdJx1SS2U0vds/DDTxw/uQSPF4PsaTPcNYsIEWmK7pVqu7WqS7Yk5ATt8woxl6jSqJFU7hQLw== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(376002)(396003)(136003)(346002)(39860400002)(451199021)(46966006)(36840700001)(40470700004)(6666004)(5660300002)(316002)(82310400005)(7636003)(4326008)(356005)(41300700001)(82740400003)(107886003)(86362001)(26005)(70586007)(1076003)(70206006)(54906003)(110136005)(4744005)(2906002)(8676002)(8936002)(16526019)(6286002)(186003)(7696005)(36860700001)(36756003)(478600001)(40460700003)(47076005)(83380400001)(336012)(426003)(55016003)(2616005)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2023 07:55:27.8417 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c32a6edd-7734-437e-4fdf-08db51f515f5 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT040.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5722 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. 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 +++++++++++ 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 | 68 +++++++++++++ 14 files changed, 359 insertions(+), 3 deletions(-) create mode 100644 lib/net/rte_ib.h -- 2.27.0