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 A42C2A0C49; Wed, 7 Jul 2021 13:53:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B6F6406FF; Wed, 7 Jul 2021 13:53:57 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2070.outbound.protection.outlook.com [40.107.94.70]) by mails.dpdk.org (Postfix) with ESMTP id 8415A406B4; Wed, 7 Jul 2021 13:53:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ROo5OeA+uOWYbCtqCPkGcERo+vZBPavhwjpmv/scNzvbLXwrucJ3gR1D4bEPyOX3slV0lukT46xmBmQb4gvRqPWRzIzkp8v/4N1yr+fGUTWrsaxOdxxp8BmEm/eSj1Yt2jf0r39Bb33lL34fxQk+vSWnkvhFZssNpjmcFo46vMtmKvT1pAld+Hx6VgA84x/gizxIYCiK46lWw6L9heCeJ7uwJSitYNJB1LSRWy/Lm1SpcQo03KyLY1KD10+XnTBK0A+wt11HBl0PL3RTRVLzLh19a6oW91ZflbhPvgjjqxKZh99SslH1RloY6WuHKAUFvwXDfpCtG/xS38QGB5q+/g== 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=nbW1ttFkMq4jGJBpewZBvZOsIobcJ5has+Fpq1BLBHw=; b=bod0R1Po7dpzLXFZHLeqTKFCSTIdjQWndTVp4RipCV8/Se0Cv+xY/z0lLpSqvWrGc9S5ylHUWIUCrU9L9I1nkGWjBxkgDYkvii6JiPLowyZlNvQ4InR3Y4VUlN0IovEgLLXHEyrpRm8B+cJZ86qkd7fhToj2ffZfwl5tQkvEellQdn1QW+8OZiAhsyXTvPKgSKMgmGfk7T3lkeSJq2C85Kr2MNk5GTImc5Q8FqrdCqZqSzu3vjqt3Wtuj77mVUFFs2BGl6kgbeHiDt3w0dsfBvmB22kcwt24vBobe60bdY5YV8EHIpN40AjW4zvzTezmlVqDKWuED7QijLFFLFlzkA== 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=nbW1ttFkMq4jGJBpewZBvZOsIobcJ5has+Fpq1BLBHw=; b=KFin722RSHnubQFsgSw7WRcaO+MeVxYimPG0K1q9cLQ2jUHnNwGgNzLsDKaDQkTNWQfQpXOXZu+qsUrgTm4DflrvzcoW5CjZriQ1pmZd00CMBfiZUT07CK4aU0zQk0iS/vAvAhJdWGwi9vz9MCW0AlKnAoja85mVIRrnSS83U490D4/h+au12HkTT38Kkya2Dxrkt9AI8BQDmNruJLUdYPOmoL4EP6zjCHuM7y0wjxspIVbLXUzec+XlUBzlxeYXm0Gh7z96mFyXow2Sryx+orrNdqZERLrAUFf7P9Jpw87i6pSwdWnUeC1O+nDCRnDdT/oJfXhOw4rfR4j+tCj4Qg== Received: from MW4PR03CA0038.namprd03.prod.outlook.com (2603:10b6:303:8e::13) by BY5PR12MB3844.namprd12.prod.outlook.com (2603:10b6:a03:1ad::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.31; Wed, 7 Jul 2021 11:53:54 +0000 Received: from CO1NAM11FT005.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8e:cafe::a5) by MW4PR03CA0038.outlook.office365.com (2603:10b6:303:8e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 11:53:54 +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 CO1NAM11FT005.mail.protection.outlook.com (10.13.174.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4287.22 via Frontend Transport; Wed, 7 Jul 2021 11:53:54 +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; Wed, 7 Jul 2021 11:53:51 +0000 From: Xueming Li To: CC: , , , Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko Date: Wed, 7 Jul 2021 19:53:26 +0800 Message-ID: <20210707115326.26871-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea2921b0-39bf-49aa-8abb-08d9413de534 X-MS-TrafficTypeDiagnostic: BY5PR12MB3844: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1923; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8rh/gtrLaa+O2LqH5HCVePB4WIkLPOj5yBTTKFMi/1H1uSE/5fpllVg+fJf28AfFmicpqk/xLyOat3VrvHzEkQRRsArav0V1teB+9IJBeMXklpaFC36Ptuv01kPdbgiqB3i73rkFdtf4kXQUdvrEdLaxRjKjeRv8I97jS/nkhl108A1kbY3zbjSw2ZoDIs9K5lxv5Sw8ZlYpjP8Jn0boGtoKXbMqGyvYDNYPwBC0KZ0t9yp2Xb4tLyFgdSRQbH92QtgZx7GO4VuMfWmFV7Zl5q7/2ZsjVNIJGFRPTbJBBGqTTojULRdW0nwgnqCq7XPz9uFMhxf9ncKgKbyPOU/Fee1MgF6I5uCGQOMSHTzRvattePoX3jyYNPLcxcw/G3RnF92Rs+OV/WpKmV+A9DI93ZNY343pciH30zzKxdPGLuB4ndezGaXVO2PHvMv74zh7Ac5WMh2iCdNmMN1j9ghiwjVhLOMzffHOh9It7eLO50aXOHQSNAGFimXkiCFexiKKviZX5Bo3VDSYwg7+rq5+jTWee+6LkoP4lddI4aIuZ1XEwoxTGSKIcX/vNaj+7cRSpKiOJRzpxqlvsp0lpMEnD9iNXIxkSvpMj/hL78OFf2E16Dk8DIErAvnZQ2h/xsYaOX1ysDTLHGUDLBRAaPtpvuvIp6TprsYgMzIkeyTo3j/yYbY55gsTzXOZjlk62hMKm/Y0RnJSTRho1lx1CF0Qqu1w0+BgZfzArfhmksUH6NE= 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)(346002)(136003)(39860400002)(376002)(396003)(46966006)(36840700001)(336012)(1076003)(36860700001)(107886003)(316002)(6666004)(82310400003)(54906003)(36756003)(5660300002)(47076005)(8936002)(2906002)(26005)(83380400001)(8676002)(55016002)(16526019)(82740400003)(4326008)(86362001)(70586007)(450100002)(186003)(426003)(478600001)(70206006)(36906005)(2616005)(356005)(7696005)(7636003)(6286002)(109986005)(266003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2021 11:53:54.2772 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea2921b0-39bf-49aa-8abb-08d9413de534 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: CO1NAM11FT005.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3844 Subject: [dpdk-dev] [PATCH] net/mlx5: fix SubFunction representor probe in isolate mode 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" Representor failed to probe in isolated mode due to callback of retrieving representor info missing. This patch adds it back. Fixes: cb95feefdd03 ("net/mlx5: support sub-function representor") Cc: stable@dpdk.org Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index abd573e8ed..bf0e7401a5 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -1720,6 +1720,7 @@ const struct eth_dev_ops mlx5_dev_sec_ops = { .xstats_get_names = mlx5_xstats_get_names, .fw_version_get = mlx5_fw_version_get, .dev_infos_get = mlx5_dev_infos_get, + .representor_info_get = mlx5_representor_info_get, .read_clock = mlx5_txpp_read_clock, .rx_queue_start = mlx5_rx_queue_start, .rx_queue_stop = mlx5_rx_queue_stop, @@ -1753,6 +1754,7 @@ const struct eth_dev_ops mlx5_dev_ops_isolate = { .xstats_get_names = mlx5_xstats_get_names, .fw_version_get = mlx5_fw_version_get, .dev_infos_get = mlx5_dev_infos_get, + .representor_info_get = mlx5_representor_info_get, .read_clock = mlx5_txpp_read_clock, .dev_supported_ptypes_get = mlx5_dev_supported_ptypes_get, .vlan_filter_set = mlx5_vlan_filter_set, -- 2.25.1