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 0C29DA034C; Wed, 9 Nov 2022 20:08:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1989F40687; Wed, 9 Nov 2022 20:08:03 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2066.outbound.protection.outlook.com [40.107.94.66]) by mails.dpdk.org (Postfix) with ESMTP id 1825440151 for ; Wed, 9 Nov 2022 20:08:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eD9DGSudJQe1TFKJCDLevcRNR8JIyYpDsbth8X+blRRt2zSVLeKnafF5LHq6eiWGUVQOxwTcoQNvA+mYsQGrsgPnQUSKWWwecMYxRJE+FdXO5GGOfzovlzT7Jq8bSkkSIDXBGb3BlqUQYU4Y6+VBprZVtdywUlVlMIsN4ib9INvAQXtVHtKXEaDVPkqd5ncJhxT9WYgfF8J+b22KXerB/Sf8F4ZFLc3ndBUiNDgrdKmKJHLF0+SeG0ZmB0NVB+4BRlYFubt4V3Ry+8lPLsEhgwQd9qSpwucS6N59Dg9wGSCFag8BvHAAfi/Yt/IMNL164390XZVbAQNVMWKJofuDKw== 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=BBvUmiFyW+Rllnrj4qD/j/pmmPg7ZAPoqkfSZnCLZvw=; b=I1lOMh9K2od+ihjtdiKlGF3HI2KT6ObmqaRynOhJL7du9+faPXq/q0Gzxg1iVe8zniwN6Ia1e3/DOnFFp+P7caEqHQ/ZTWmFNllBiM+IR4//cQvyqN+fQc+owg1uPjx4+FbqYU1yHLrmzr8froZz8v//5oMwA7jgJDPS4eWaqRgW0uKsYSYLVqIo/mX5aLMmMWcE6UsUEqvAsQUw8pkk5qC8+oYq8tpoJGN5Q1Lkbhupzxp5VmPMV3lLyM2ztnPpkq4fDxK+mVgxr5nrPOMJhMETMS68MONB1l6CqHHMxPMpa+KwDb5DN00vH5Y38N6a6VGQfmOpPFPhHgj4vfA7SA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org 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=BBvUmiFyW+Rllnrj4qD/j/pmmPg7ZAPoqkfSZnCLZvw=; b=GjCMlSk21eTeTLwgy8qlITY12/WvtbCEXIF3OegCkgT8X/N79/X/Q2FKrAu8FFD+4RB8duPKvok5/njX6jePafcz4yz3gmqyOrVF1Q1npDW2I/hpF3hoF9wrMF3RYb7tF4tPS7I+6LIBl8yJuHZCEl6yE/C1ooXHo2uYxHtwh5J68aKgcRvqRSIRzYN3CK6LDiAzjkhB7E/7p45brZ6Rah8OHhcXG7rChbzQS3gknfrfqUtyg+ZU5tM6hu4K3lXtGo++044GAZgTZaHlfEPGdIjzsJOb/qbKR7HKFozlhdHEPwvYspEPZfblix6Sv1UwRRYNm2CC2DetGU3PkV55Fg== Received: from MW4PR04CA0310.namprd04.prod.outlook.com (2603:10b6:303:82::15) by CH2PR12MB4103.namprd12.prod.outlook.com (2603:10b6:610:7e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27; Wed, 9 Nov 2022 19:07:59 +0000 Received: from CO1NAM11FT006.eop-nam11.prod.protection.outlook.com (2603:10b6:303:82:cafe::ce) by MW4PR04CA0310.outlook.office365.com (2603:10b6:303:82::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27 via Frontend Transport; Wed, 9 Nov 2022 19:07:58 +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 CO1NAM11FT006.mail.protection.outlook.com (10.13.174.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.12 via Frontend Transport; Wed, 9 Nov 2022 19:07:58 +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.26; Wed, 9 Nov 2022 11:07:48 -0800 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.36; Wed, 9 Nov 2022 11:07:47 -0800 From: Dariusz Sosnowski To: Matan Azrad , Viacheslav Ovsiienko CC: Subject: [PATCH v2 1/3] net/mlx5: fix log level on failed transfer proxy stop Date: Wed, 9 Nov 2022 19:06:37 +0000 Message-ID: <20221109190639.886457-2-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221109190639.886457-1-dsosnowski@nvidia.com> References: <20221109190639.886457-1-dsosnowski@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT006:EE_|CH2PR12MB4103:EE_ X-MS-Office365-Filtering-Correlation-Id: f19be30e-dd2b-4be4-7d20-08dac285b754 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JfEylq7gNoT6LWja8TAN0OhCmA5EPgEJmMxnNqGPvpsirbwaGxxe3FStwX2azrKkVzXITh3EPWC6gRCj11K8Wk28lKD0z8CZ6od1OG+vnBZAjxixcSK98HxrHUsxG+bAOC3xoLh7f1Rc2OPPkLCP2+Bo304X8MONfXGloJqantp0uMhHR2vaZcm3F/sLn5zGHHqxUQNj16h4zczIdrJjZmKoP2dlzyfNQJ+/Qct768pJRTZQYsrR+UdX1+AnLNLVDj8HL3Mj1vsawU5fksBqR5+JqtFvbWItl1U/SMX6dA5JraGez+azyXHeWhvVvrUu+UJwV8mvoA5p6QXiBbd/RSX25KrsVUDI9V6X6uXedUHNTvzQ81RvifP1JTD0IbQVzg062nwQoZ4oLKY4SeZKRVzWnVf/HXlblApQ1QaW2nlso22y6lJYMFAQZBj31HYHRJA4io8KipAsPSK8ebRcski7wQESlVGrrqQ90Dq40A2dNzwSYMxgpRfY39AktU5Q5FRa291mZgtBXP/xBgPgdHmrf0ZZSxLf6Ey8AEs9yoamqPNYri9IeU56mnUGE45TE13e1Sg9B8B0//rJRr5I9KSc9t7l/GkctNarUD2DCXM/63D9MH58Jc6yn8MmmubkTjOXnK/I7t58OBQEZzoR7Hawd5qmgkWE+HZnJxCVS6AdY1kbATcsweEJUIYoFIP8E0+VzKKIIXQEBZhRxwqUt7MLpVkOMnEHcTnEOOfb3XHEkdJ6ql75QlGl3wLAhQwEJ8l2FRHVlnFiNmDaRsVcHQ== 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)(396003)(39860400002)(346002)(136003)(376002)(451199015)(46966006)(36840700001)(40470700004)(82740400003)(316002)(7696005)(36860700001)(336012)(1076003)(47076005)(16526019)(186003)(5660300002)(40480700001)(83380400001)(40460700003)(2906002)(55016003)(426003)(70586007)(26005)(6286002)(4326008)(8676002)(86362001)(41300700001)(8936002)(70206006)(36756003)(2616005)(82310400005)(478600001)(356005)(6636002)(110136005)(6666004)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2022 19:07:58.7615 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f19be30e-dd2b-4be4-7d20-08dac285b754 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: CO1NAM11FT006.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4103 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 This patches increases log level for error reporting when stopping the transfer proxy port failed. Stopping can fail with EBUSY when related representor ports are still running. Fixes: 483181f7b6dd ("net/mlx5: support device control of representor matching") Signed-off-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5_trigger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c index 4b821a1076..310a84729e 100644 --- a/drivers/net/mlx5/mlx5_trigger.c +++ b/drivers/net/mlx5/mlx5_trigger.c @@ -1361,9 +1361,9 @@ mlx5_hw_proxy_port_allowed_stop(struct rte_eth_dev *dev) representor_started = true; } if (representor_started) { - DRV_LOG(INFO, "Failed to stop port %u: attached representor ports" - " must be stopped before stopping transfer proxy port", - dev->data->port_id); + DRV_LOG(ERR, "Failed to stop port %u: attached representor ports" + " must be stopped before stopping transfer proxy port", + dev->data->port_id); rte_errno = EBUSY; return -rte_errno; } -- 2.25.1