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 75A29A034C; Wed, 21 Dec 2022 11:18:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6910A42D15; Wed, 21 Dec 2022 11:17:57 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2077.outbound.protection.outlook.com [40.107.237.77]) by mails.dpdk.org (Postfix) with ESMTP id 5832C40685 for ; Sun, 18 Dec 2022 16:09:19 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=haiHlREmpHp5Dwpd8WiT+fwbxb6Gz0RoUSGvxu+uGwoGVD4IrSbO3PsHijL7bf33MIEi8sfAzFjatQvI6nDMX3jX4uUo+GxvyI0YPKxq/AHkCuGh1U/4Svxs5hGPpHwWasxjoS6FHK4lmigdlStrTh2dp9HeL1MNsr7qMEcOaIOBGGTmRgH+cQhnT+EONbgSVQ2+STCIDaJrj2njtIKTANTKUg8ZWY0mkm3rkGZJhoOtQfOgoLPptkyGySL36oxAITjj6WcAYVCeCXU6tn62VELnk1dHMhHl2J2Ph9ktF2pHgcMBE4nsSbBXtTiGE0oRO2xKZRcLgtkEBg6Fr6GNVA== 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=Y20x4exgePxdsa2BPRFLe+9G92uYHjgT/Q8yoxfjrX8=; b=J2FeG7bN+kRJ7dinhOslcRErbhm+3iDAr5vVPSXEvL28XAXcPAaFN9nCOzJNcqu1lCrfeJ+7CjiGn5wvkgIIEe57AC3/JQ4FxkLVkerD+4SgiNJJCJWnKdAHuLSCrZhtOuMK5vGcu2dWyxsOBp8jRYnZuS+YE9sBAVtv8/WqbDsgfwnB0m4QmDAEGshXerX4X66lG233ahJtC9/vardbgDuG9m9te2TfDgRkA6nXhVlrlId1uteX7bwOSz6R1gJ0HtyiVjlaRJyM8mFbA5JDFdSC6SqNviUNQi1iadUbbup4y4GEvUgOBlfmZMEN6taFFEwy8iBHrC+YgPig7cZlNA== 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=Y20x4exgePxdsa2BPRFLe+9G92uYHjgT/Q8yoxfjrX8=; b=THZ7dNQiN6uzh7uXN+9iQ3ohyjJ4TiB77Spvtm5Beq5LwCZnAdSFDd1rKN4FGGNguxHwM0f9MoecKlP7KFflvJ15iA37HvBHdK4qwq4zM+oi/hfUvti5liHvfkXtu6f9OuY+J0QA6PnSi+hRZsKi5zLRFfI6GPxfALP4Q+GK94N8n0p7FcMxnKef0SVqgO/bgmAcWqB6dGwDcKGMd75D3DR1oOnbFIdkjTyZM1yIs61IuOVQEaJMbfxZvX+gsTGIp/Lw9PVEmt27CelhjbpTD6PpMxBDdB7KLNxrohIr4Lg+4EWyRvA6D5SQZExuwME9zqmHFiiOA9rXJ/P1uvKlnA== Received: from MW4PR03CA0123.namprd03.prod.outlook.com (2603:10b6:303:8c::8) by BL1PR12MB5852.namprd12.prod.outlook.com (2603:10b6:208:397::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Sun, 18 Dec 2022 15:09:17 +0000 Received: from CO1NAM11FT033.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8c:cafe::d0) by MW4PR03CA0123.outlook.office365.com (2603:10b6:303:8c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.18 via Frontend Transport; Sun, 18 Dec 2022 15:09:16 +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 CO1NAM11FT033.mail.protection.outlook.com (10.13.174.247) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16 via Frontend Transport; Sun, 18 Dec 2022 15:09:16 +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.36; Sun, 18 Dec 2022 07:09:14 -0800 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.36; Sun, 18 Dec 2022 07:09:12 -0800 From: Erez Shitrit To: , , , , , Matan Azrad CC: , Subject: [PATCH V1 02/11] net/mlx5/hws: add capabilities fields for vhca access Date: Sun, 18 Dec 2022 17:08:43 +0200 Message-ID: <20221218150853.2167280-3-erezsh@nvidia.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20221218150853.2167280-1-erezsh@nvidia.com> References: <20221218150853.2167280-1-erezsh@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT033:EE_|BL1PR12MB5852:EE_ X-MS-Office365-Filtering-Correlation-Id: d5d367ca-8774-45ac-6246-08dae109d4cd 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: W834pDp94f0WN2yCu2FDVIouvoduY8X+3h1VVXvkj5SwmZBF8krroJwytsI3IfE+IXtyfbdQCYH/O/q4V9BQZbOwyH82WSuek22W9tUTLh+6IEmc3+xSbasqfIraRBa5qJYpXdKrs2eb0V1be8OYtz0AzZBnEnRkWnZZJ6mlJ0bk+gf85bmTgVhdrbogIL+Mzgp8NBlwVCSxJyPLttnQZnTxA7ubcyLOfwrcZ9SWNuSqLnbMgklAcu1j9v+LSN/6Go+RdQ6ZmGzlS7T9MdII/zjpGAmAVkIS+kS6ZnFVtzKDq8LhSRhmhjhLpFSdkDbTk8bo5eWPAJBaXMSvnUnMCMonzmc27gaywRkM4H0BOIkDPqsWSq+Ygo94cZwclK8vZJKKxe9fdJgKmwtU4zZYdx+s6dSekhxO3ntqrkLmHxqYqgkxVhO6wQpukKwBdrwY6wz7RZzJiYBSMb0GS91rOcrVaI56vAUuuF8BvN6gPAfFcDDCesy7ihciFPTWTsMgBJaQ5grju/Q7nvuGqB4xKtm9mtT+8+8MYl54i7AGIoNJmg9Y7PD0KumKdHXwPl2opvddMGq4oezwY4GdkJIQoHLg6ZA7PYwBcheAtRYCvqnzK5ct26ZhukAkKacQ9nIfLYp5jdy47PfPrBB0Vt50Ad9FamEx+qQg/pmPh+icHMMM5QSZBNi90rtmgZA8SxlEXYOPslRhsxt4NCoZUN2pqQ== 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:(13230022)(4636009)(136003)(39860400002)(346002)(396003)(376002)(451199015)(46966006)(40470700004)(36840700001)(336012)(1076003)(82740400003)(2616005)(47076005)(426003)(107886003)(82310400005)(6666004)(26005)(186003)(40460700003)(6286002)(16526019)(7696005)(36860700001)(36756003)(478600001)(83380400001)(8936002)(4326008)(40480700001)(5660300002)(8676002)(41300700001)(110136005)(7636003)(316002)(86362001)(356005)(2906002)(6636002)(54906003)(70206006)(70586007)(55016003)(4744005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2022 15:09:16.6125 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d5d367ca-8774-45ac-6246-08dae109d4cd 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: CO1NAM11FT033.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5852 X-Mailman-Approved-At: Wed, 21 Dec 2022 11:17:53 +0100 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 The new fields define the ability to access from one vhca to other one. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index 2b5c43ee6e..19c00ad913 100644 --- a/drivers/common/mlx5/mlx5_prm.h +++ b/drivers/common/mlx5/mlx5_prm.h @@ -2115,8 +2115,10 @@ struct mlx5_ifc_cmd_hca_cap_2_bits { u8 log_conn_track_max_alloc[0x5]; u8 reserved_at_d8[0x3]; u8 log_max_conn_track_offload[0x5]; - u8 reserved_at_e0[0x20]; /* End of DW7. */ - u8 reserved_at_100[0x60]; + u8 cross_vhca_object_to_object_supported[0x20]; /* End of DW7. */ + u8 allowed_object_for_other_vhca_access_high[0x20]; + u8 allowed_object_for_other_vhca_access[0x20]; + u8 reserved_at_140[0x20]; u8 reserved_at_160[0x3]; u8 hairpin_sq_wqe_bb_size[0x5]; u8 hairpin_sq_wq_in_host_mem[0x1]; -- 2.18.2