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 A7FEAA0C40; Thu, 5 Aug 2021 11:55:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3826240143; Thu, 5 Aug 2021 11:55:24 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2076.outbound.protection.outlook.com [40.107.95.76]) by mails.dpdk.org (Postfix) with ESMTP id 624DB40040 for ; Thu, 5 Aug 2021 11:55:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bgkrh7FPVihgg7Suz+sWE+Zonk4mzp8MOdA/61LEilso5fc+9RLguYwrF0hTZXrg17B91Kvq0nuHbk/YT7Kfk1T7244IqjFUVTW4P/HiyplFnKTD2PbuvWg38WBVfmH3LY3lPrQXqxAHfNxIfcREmdy0dFfV6O+U/qVQHEsKv1wXTaUfZH0N1PoJ71nehUusOoITkx+AKGP+KCPvgkDAXYGSGNXZg+byzd6v5mek7FlqZPIrulxEBFh5eQxI/uhHcKWvMDc6+1MSM6nrSLbJtrLqQWLZvO/4QcVVHI4VTYNVNB5FoTtvrMXhFDql4YaK1XcCy+GUdR58yx60Av5osA== 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=I20Kjv2TMWw+e9Nf5mEb4Vjf5EPTVqmOR/XalzR1lrM=; b=k6Qz1zDjmVlOgifBEqzkfNCWBi/WlYWwTtWX6m26LkHgMWGPuhz5YnR7hUtI0InBLH8WciH0201j0FLU0eUw8C1Jj68uHX660LW0daQDkWuWE+cJ77MdJOtF2HaibOlD/FP2SJJcqlGn1OlTicOwdsqyZxNwA5GEHJ1KECprGWQaLkh02zaseMHQXk4BCD3pc1V7i090RbD1DDVmXYztQtgO2f45f4NG2a0GW01DPicDE5YlgZM/oyAV09VREHk2AS8Ml6V1WYMz0KC/bvQmwDzOHYJE5A4eenYlq9PTg5qd33D417E5/M7619XCxokWdT6HHOWTMz4LFgZtvcLb+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine 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=I20Kjv2TMWw+e9Nf5mEb4Vjf5EPTVqmOR/XalzR1lrM=; b=onZ7iS3a0U8D2CJnbs08QkQO/5j6aJa96UzgoODzmbqNUUi9Nuy483RA3dEHGCas7veDRgv+kADwZrllTacX0REsz3ldpn8Vc6muKVjVp57y1FjI5UCD74mIximGZpZQzupSHlhBd6lMYs1bpObABNoVPv5uLed0EZKf1E+PqLFrWikdPyXNv6sMo9Fd6ETpNqXinZ/+TV9KJwB4Q0qjYNLwAO++yIQqvusJyDxkHa7y3Bbj0V5oOhYdrbkXzMle7batSqg7RrnS11LupXonIIeJUlLTRg+WuVv1AsMU1pcixjfo3xKanR1mqpLUMqNvMm4IhLj91u9uT8Y1HTwNZg== Received: from BN9PR03CA0397.namprd03.prod.outlook.com (2603:10b6:408:111::12) by BYAPR12MB2917.namprd12.prod.outlook.com (2603:10b6:a03:130::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.20; Thu, 5 Aug 2021 09:55:20 +0000 Received: from BN8NAM11FT039.eop-nam11.prod.protection.outlook.com (2603:10b6:408:111:cafe::bd) by BN9PR03CA0397.outlook.office365.com (2603:10b6:408:111::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16 via Frontend Transport; Thu, 5 Aug 2021 09:55:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) 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.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by BN8NAM11FT039.mail.protection.outlook.com (10.13.177.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4394.16 via Frontend Transport; Thu, 5 Aug 2021 09:55:20 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 5 Aug 2021 09:55:18 +0000 Received: from nvidia.com (172.20.187.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 5 Aug 2021 09:55:16 +0000 From: Gregory Etelson To: CC: , , , , , Shahaf Shuler Date: Thu, 5 Aug 2021 12:55:03 +0300 Message-ID: <20210805095503.23980-1-getelson@nvidia.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 54fcf3c3-937e-4fab-3d27-08d957f72302 X-MS-TrafficTypeDiagnostic: BYAPR12MB2917: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MAwvo2eI7UHsNWXrXLxHqKdB0B76CRoHn6dJHLW3wHmKG93vTtGYGBdX3JvR689ydDULI5d8eB6wdjqXv65QGz57M5rSLSmCAfXwy5gIw2qpTPp6vY4/SsOo+kjJnbnc5YAPil0TIDgG96ZrYLG8L0WY8BNXLZ63Zuy9sIDDwv6TwUjzR1Argsj0p9dPx78XsTpzkXEEnlREZv/fFaCEERdJpVhaFK7dO/rIm6HE1DYr5omie0kIJxRr75aZfhQ6GA3Wy43Fq0QWELXvdZkmctEf3Y4U1mvZ81MvQq5zzc6b+Dx0sjgi/woEz8GaOEfmkDjbWGZkt9vCy6GJS+RI+5Hd9g5H2t5h6pCli15CdcgjU/FjdHxuXXuey7+N4nWJN6TdZj0KI7t1qqw1SM+OsZDFvb2+zMn6n+1UbQ52owKop1WQOF2QAGOVfQjeIJu4uXCVIlEv4TcKKXlN1vHzHVpxqQwhEDvP3/j71g91w5tseslDtkDNg8vo2o/WBkJ5x05jgxfcZGYj3FujeXs/4eViSnQwj56UwpfMcllMRktQ0UGUhA0W4Iqka12c1TTn+X8jN3Xj/XzAtyZ/Mo7llfVt8D+ZSoc/8FXMUVmma7UbdjBvriSMDfqeUkYbIvhbfkKqZN/ESXzZzuwyDbUXulobnB3Tbm5fPH/5sJrjTRn7q/VTOWG3TxN+Dwef5Y73vcMi9Sva9kWQ7qAGWGM8zQ== X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(107886003)(316002)(54906003)(5660300002)(1076003)(186003)(36906005)(336012)(508600001)(36756003)(70206006)(8936002)(70586007)(16526019)(83380400001)(47076005)(356005)(2616005)(86362001)(2906002)(7696005)(36860700001)(82310400003)(6286002)(7636003)(6666004)(8676002)(55016002)(6916009)(4326008)(26005)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 09:55:20.4024 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 54fcf3c3-937e-4fab-3d27-08d957f72302 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.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT039.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2917 Subject: [dpdk-dev] [PATCH] net/mlx5: fix Windows port spawn 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" mlx5_dev_check_sibling_config() API was updated to allow newly spawned port locate existing sibling devices. PMD port initialization for Windows OS was not updated for the new API prototype. The patch fixes mlx5_dev_check_sibling_config call for Windows OS. Fixes: e9d420dfc2d0 ("net/mlx5: fix find sibling devices") Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/windows/mlx5_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/windows/mlx5_os.c b/drivers/net/mlx5/windows/mlx5_os.c index 5518bc3e76..7e1df1c751 100644 --- a/drivers/net/mlx5/windows/mlx5_os.c +++ b/drivers/net/mlx5/windows/mlx5_os.c @@ -454,7 +454,7 @@ mlx5_dev_spawn(struct rte_device *dpdk_dev, } /* Override some values set by hardware configuration. */ mlx5_args(config, dpdk_dev->devargs); - err = mlx5_dev_check_sibling_config(priv, config); + err = mlx5_dev_check_sibling_config(priv, config, dpdk_dev); if (err) goto error; DRV_LOG(DEBUG, "counters are not supported"); -- 2.32.0