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 5BAC7A0A0E for ; Mon, 10 May 2021 18:09:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51D0D4003E; Mon, 10 May 2021 18:09:00 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2067.outbound.protection.outlook.com [40.107.94.67]) by mails.dpdk.org (Postfix) with ESMTP id 9F8294014E for ; Mon, 10 May 2021 18:08:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZXS4IqZaW9mDqZXyCMGmpMZY82sTLVe8wBPkV13N2YvJqbYPi3nPSN+O/X9KROUCOaMwnHjSH419i9B9hYCL++CIkAHx8L2cFZgfWumxjleTf/4c3JcezaebXTWGgwItuI9tBZS+bJslXjDzA/bNOBJEHfyU08s9Ora61jPoaWWi1+5VmaAHzkM/FLB7Y//TALK2RScoB0pkLuekO63BYGCUrVRObNgHhDABKlcdOxtU0n1b3DVrg3A6kEEBR38SOogL9SveiUQgsAVF/vs1+m8wEwjYew2hQV3qXXXpq5+Z+Zr9G0QPAWlnXWRVnPcAgnvKYgw1tpyDD52uGJXbaw== 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=tutz7DZ2N2o4WAXQBKYY7LRjB5zMwZMdxDTcsey4Dl8=; b=bZ6qQXgIFALMloS5R6HBgkn063I0GqNJ9FCUzNXoCxir03ksRnvX8nwq+weCz/9YIB6im+2Iu6p/pBKhSxPDj27kRwOJCjUtnbZID+ElbwdMqP6LLgGGWa8kQ3A3t6OSpwbjSjyy1R4SfNpPX1P7vsu2bbmV7WMhvIvuGohtYbz2FQe0VFOEv65YwCn4KxuF+9c9L88Rq5h2Xnq6M5C6Zd9kZ9J4lPybVNEx5dpdU6mxq2mvRX1SBxfzu8+HJtlpxQ/8fgUuKUPliYIxZKLeVu5relrwqFGRnwsmatAcBTjym0SSzSxsRoNq8+FncPvCZGQRw0vSOahXtuA89c79/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=broadcom.com 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=tutz7DZ2N2o4WAXQBKYY7LRjB5zMwZMdxDTcsey4Dl8=; b=QYIucEXXIRHT4FQPZzUSnClJlJEs/1jwOCKaIYRioaD+0yrU1CqqPOqRvX/fDZGqPPibpPLF/rDwjOXtDGKOShzljelts84q5pn1uz9364aRJsnT3IKZNRXa6v2MHqZ6VMV/ysn07sn+Rrjoqnmy/keuujapSDxyP8TG46zqT9RkHerW8hjVuHnYQvGuq/Acz9JRMhwcVElnZAvT4THfLT0cGQKxsEO9E5awkCcPA8BgTP2VvopyCrAglwzs5OAWJeNeBLyxFievfLfgor7U7VxzRwCLm/xiXB6sRgISTjP3Rv9/t/UuL8+02WeApGSgf6P4s23rA6VHNBAqOxHdbA== Received: from BN9P220CA0010.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::15) by MN2PR12MB3838.namprd12.prod.outlook.com (2603:10b6:208:16c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.29; Mon, 10 May 2021 16:08:56 +0000 Received: from BN8NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13e:cafe::c5) by BN9P220CA0010.outlook.office365.com (2603:10b6:408:13e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.28 via Frontend Transport; Mon, 10 May 2021 16:08:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; 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 BN8NAM11FT025.mail.protection.outlook.com (10.13.177.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:08:56 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:08:54 +0000 From: Xueming Li To: Kalesh AP CC: Luca Boccassi , Ajit Khaparde , dpdk stable Date: Tue, 11 May 2021 00:00:07 +0800 Message-ID: <20210510160258.30982-58-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ad366e1-382c-49b0-df39-08d913cdea02 X-MS-TrafficTypeDiagnostic: MN2PR12MB3838: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hRNIlP/J2jZh9iGM/mlpqfdIjuANkGCbcmYkCIlMrv5MjTOFshvbwDYbXS956c1yIDMwR1DBpTtVC0wxKMkZjbyY1DGp/AqL/1700vMBuFpbJUZNrmSN1cqOX77fRPTZ7sJzRmLMY2opcJiwzpkHLiuSs83linkmDX4l9vsQIc+hPbvtmms6c4Za8G0VW1dO7HDgwydNSAqzyDwagvLznMvCneXa9I11N/HbNyIcjWyVwM1bTFQCQJOfBmUK6Ch9witVPQO67C/x4CvLyvM04sDbJ/f9YApmiziWwmltO8uXznCv0Ydt50fPdwkChppZp2GpGAfsUbTw0prtK3cmr9tZzWCLZGFAIyYOSWtmlrzZs2upL3B4oU60lEDB4wYZifkEUekC+y70VxBglnvW8ZJ8CRZIm6Sbg8muaZN5RfeSW6Txny+8WMI229kqz/mcfn03QjKQZTMzQpMtMB2p2yKyR8VBW/QEjweLRWp+MD7xHHyApRPT9jXO6wMRdf3/F/L1TsvtEzaU+7thoQTe0jlpS4oMLN5vqqU7qfGjG3ikI8QKxEgotG4N8RwLwJ6aQ0W8OnDtDqtMEg0dS8BhTYmZ0R6Ngae+hnHYTSCxkN9bOXH+xpdtRD9dBn+Aod500Hs1DPg0ZM1NnHj85Sjso2XTeGtQfM9XZL2DbBVV8hm6/tue5KDjliFHQRhwCWX5/YKLSozeKNewjMbxqfpZ0SMYTNB/BI5WCgaxCGKD3Dg= 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)(136003)(396003)(346002)(376002)(39860400002)(36840700001)(46966006)(5660300002)(82310400003)(53546011)(83380400001)(356005)(36756003)(26005)(55016002)(86362001)(426003)(966005)(7636003)(47076005)(4326008)(7696005)(478600001)(54906003)(6916009)(6286002)(2616005)(70206006)(36860700001)(2906002)(336012)(70586007)(316002)(6666004)(8676002)(1076003)(16526019)(36906005)(186003)(8936002)(82740400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:08:56.3097 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3ad366e1-382c-49b0-df39-08d913cdea02 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: BN8NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3838 Subject: [dpdk-stable] patch 'net/bnxt: mute some failure logs' has been queued to stable release 20.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/f061789e7cce480726087a2315053be6e30795b7 Thanks. Xueming Li --- >From f061789e7cce480726087a2315053be6e30795b7 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Wed, 10 Mar 2021 13:20:54 +0530 Subject: [PATCH] net/bnxt: mute some failure logs Cc: Luca Boccassi [ upstream commit 3740259eae2dcf0903d7e8a08909a22486be3744 ] In the init path, driver ignores few of the HWRM command failures. There is no need to log the error message in those cases. Fixes: 3fb93bc7c349 ("net/bnxt: initialize parent PF information") Fixes: 4e3f887bec4b ("net/bnxt: support HWRM port PHY qcaps") Signed-off-by: Kalesh AP Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index abfb4b289d..284699b2dc 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -1417,7 +1417,7 @@ int bnxt_hwrm_port_phy_qcaps(struct bnxt *bp) rc = bnxt_hwrm_send_message(bp, &req, sizeof(req), BNXT_USE_CHIMP_MB); - HWRM_CHECK_RESULT(); + HWRM_CHECK_RESULT_SILENT(); bp->port_cnt = resp->port_cnt; if (resp->supported_speeds_auto_mode) @@ -3245,7 +3245,7 @@ int bnxt_hwrm_parent_pf_qcfg(struct bnxt *bp) rc = bnxt_hwrm_send_message(bp, &req, sizeof(req), BNXT_USE_CHIMP_MB); - HWRM_CHECK_RESULT(); + HWRM_CHECK_RESULT_SILENT(); memcpy(bp->parent->mac_addr, resp->mac_address, RTE_ETHER_ADDR_LEN); bp->parent->vnic = rte_le_to_cpu_16(resp->dflt_vnic_id); @@ -3254,7 +3254,7 @@ int bnxt_hwrm_parent_pf_qcfg(struct bnxt *bp) /* FIXME: Temporary workaround - remove when firmware issue is fixed. */ if (bp->parent->vnic == 0) { - PMD_DRV_LOG(ERR, "Error: parent VNIC unavailable.\n"); + PMD_DRV_LOG(DEBUG, "parent VNIC unavailable.\n"); /* Use hard-coded values appropriate for current Wh+ fw. */ if (bp->parent->fid == 2) bp->parent->vnic = 0x100; @@ -4258,7 +4258,7 @@ int bnxt_hwrm_port_led_qcaps(struct bnxt *bp) req.port_id = bp->pf->port_id; rc = bnxt_hwrm_send_message(bp, &req, sizeof(req), BNXT_USE_CHIMP_MB); - HWRM_CHECK_RESULT(); + HWRM_CHECK_RESULT_SILENT(); if (resp->num_leds > 0 && resp->num_leds < BNXT_MAX_LED) { unsigned int i; -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:28.166586900 +0800 +++ 0059-net-bnxt-mute-some-failure-logs.patch 2021-05-10 23:59:26.410000000 +0800 @@ -1 +1 @@ -From 3740259eae2dcf0903d7e8a08909a22486be3744 Mon Sep 17 00:00:00 2001 +From f061789e7cce480726087a2315053be6e30795b7 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 3740259eae2dcf0903d7e8a08909a22486be3744 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 3de5c7e3a1..e3a07314f8 100644 +index abfb4b289d..284699b2dc 100644 @@ -23 +25 @@ -@@ -1542,7 +1542,7 @@ int bnxt_hwrm_port_phy_qcaps(struct bnxt *bp) +@@ -1417,7 +1417,7 @@ int bnxt_hwrm_port_phy_qcaps(struct bnxt *bp) @@ -32 +34 @@ -@@ -3385,7 +3385,7 @@ int bnxt_hwrm_parent_pf_qcfg(struct bnxt *bp) +@@ -3245,7 +3245,7 @@ int bnxt_hwrm_parent_pf_qcfg(struct bnxt *bp) @@ -41 +43 @@ -@@ -3394,7 +3394,7 @@ int bnxt_hwrm_parent_pf_qcfg(struct bnxt *bp) +@@ -3254,7 +3254,7 @@ int bnxt_hwrm_parent_pf_qcfg(struct bnxt *bp) @@ -50 +52 @@ -@@ -4398,7 +4398,7 @@ int bnxt_hwrm_port_led_qcaps(struct bnxt *bp) +@@ -4258,7 +4258,7 @@ int bnxt_hwrm_port_led_qcaps(struct bnxt *bp)