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 7A961A034C; Wed, 9 Nov 2022 17:32:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16F75400EF; Wed, 9 Nov 2022 17:32:15 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2089.outbound.protection.outlook.com [40.107.93.89]) by mails.dpdk.org (Postfix) with ESMTP id 0C02E400D4 for ; Wed, 9 Nov 2022 17:32:13 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DLv1ZKKL8y24qamm2UNg03rZvQnmhzaPQpOZ/NBMTT3jcurxzrhbz1qsFpvXgwLdlhfR816USRvuNL50ehu2ciGUQ5LSNQkYoYysWBDp12AqDTX2j5d7HN1XtHn1phQH2r5YjeVkHCCZOOGZMbb4xJ6lgsZaLdPH/0ddCkLNybP33FYGqgjYinyo5QvYR/C1sDbykMnMOPyUzPOV+1vmcJf59P93tgzUefz3QXq8vorXGJoaA/xtumbcyiKqyCtJB7IjCLTDc8jW4uz3KVSxiiY4MzfajuSAt1hovHgM3DBb1MzZgQZXZNO8zCS6KkyYrNl668N7CulL8xbkbbv1kg== 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=Rj6OV1Y+Q4s+lfpfB4SyAnfsiY3D68L1XROeR9DQAedOhmVyUB/N16g66fXZyyI4lI1XfwVVG5LnXgGrZRYWQcJWzmcMK7+/e3NnXS9hNMhkro69N8x5wwBI6Y9gujXzVgFjacGY8pibxxFSowwR2xDpDY/HUgvyJt4JL3v4Rkf7/WUhKKA7h2wzPEuPwPmZJ4J9+baNY7yOGD/ze3+FUhALO0ePPytxaDS3Nfo7gLM6qSWadIagtW9xkhExXJGh7RB8UEInABGf8QS92h9IYcweL9rY+7Hj8YYvvPNRP7OOrWm/oBCchjLbOKnCkXr9NzO+IF7br2/qVZ+V/qSjew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=MO1NpJPuxfJ7zOis3TPRVtXMsO5H6tA/5jGPOM00QOWNeSt2MtNtkW3GvsNWqWOxrYYSsqGwc1nlpYfR/56EtJaGZBdXcd/AAhBgloIqmQmR+pdC57MWqF5mBw0/o1z1sCvCGUvRLRSDZqb913C0XbDLrSD25pbWzAO91AUkKFEv8tp4Wckw1UKlOxkitmkLvir5ojTUi9P5WiOFDSjAwA357z4yU30WTrmN57Mphm80MQk2exjm7s9hc6rf36EuW5FThZY23uWzJ0YlOfkk7rrdEAZadSLEfEuDTec5nRl0n7IqeAmw6eKxkpwSUwiXt0mm+vflYHCXBQQLihwqGQ== Received: from DS7PR03CA0066.namprd03.prod.outlook.com (2603:10b6:5:3bb::11) by DM6PR12MB4880.namprd12.prod.outlook.com (2603:10b6:5:1bc::10) 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 16:32:11 +0000 Received: from DM6NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3bb:cafe::6d) by DS7PR03CA0066.outlook.office365.com (2603:10b6:5:3bb::11) 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 16:32:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT052.mail.protection.outlook.com (10.13.172.111) 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 16:32:11 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) 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 08:32:03 -0800 Received: from nvidia.com (10.126.230.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 08:32:01 -0800 From: Dariusz Sosnowski To: Matan Azrad , Viacheslav Ovsiienko CC: Subject: [PATCH 1/3] net/mlx5: fix log level on failed transfer proxy stop Date: Wed, 9 Nov 2022 16:31:13 +0000 Message-ID: <20221109163115.868939-2-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221109163115.868939-1-dsosnowski@nvidia.com> References: <20221109163115.868939-1-dsosnowski@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.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: DM6NAM11FT052:EE_|DM6PR12MB4880:EE_ X-MS-Office365-Filtering-Correlation-Id: c3cc46bc-17bb-42fb-5828-08dac26ff3c0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1K96qaXwuIYpGqK3TgapYWpkJVOsb03rUJeI2UoHsD3mPS51NcS43EAKiihuWMlIq8W8el8KkV/NDml/Pbu2Ssvj6kpfObW+gsNBphw1gvl5l39JD8IIPk4Tv4met4lvLisdinMV495baowYbvsx0DSY3lFXPriv6Hic98s6MgNdweu1nDPs00dhgrGXese0ZnWvDV18hKix3Znj7cskioPG4hxbIr/y/5WlBOW+l128Cc6NONh8CcFdr3yevrtrokbEQELA4iy7VWlqeVXuvn6xbVlLVaRRJNzs4N88GCcnp9oKKsKnF2k423/5DwJcyLQ8vfI7VV12MdB4dCfPvpAxTzyzZyX9Fy2QnFr0UZOsXwfUHUrZVOXGn2hAfohjJigTZMw7LinWWgZp9cpLfbVRceG0SMLxV+TUk+leixvIWb8dfYiBfzWe4+Nz6aecMW2+sPVOfPiTdq3vm20lh+mhkTGqIyj5z/3fsgFWMiiITJYFryXdCGR69xnXoU+ztn+X4iJfmi4Y9TtYrrE6cQz9o7Xcz3H5Pf/vBMmbe72Ahvf5QmsOaC9gMDTrDupTFuGwVqNujDU0X9OIU0mwZzgc851/d9xwRbgRrjzXP3Pi6SFT3XhF5tBVqVKxUiT31m23zTCLrrNsUUehqJj9ltMtQwUaKrtoM2YesmKWqNjf/y6tx2hllkTnbCLFGjsCWp64VaeN9NAUG9ZwVd7vaHWGQrFg05r2YHhltqJHKQqv6zdHJIZ65Xxa5oc/RU8vqVFubYBlqSAPuJ1ed6OYWA== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(376002)(396003)(346002)(136003)(451199015)(40470700004)(36840700001)(46966006)(8676002)(86362001)(478600001)(6666004)(2616005)(70586007)(26005)(4326008)(316002)(70206006)(41300700001)(5660300002)(6636002)(110136005)(186003)(40460700003)(16526019)(1076003)(36756003)(8936002)(6286002)(336012)(7696005)(82740400003)(83380400001)(40480700001)(2906002)(47076005)(426003)(55016003)(82310400005)(36860700001)(7636003)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2022 16:32:11.1411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c3cc46bc-17bb-42fb-5828-08dac26ff3c0 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4880 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