From patchwork Wed Sep 20 17:38:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asmaa Mnebhi X-Patchwork-Id: 1837356 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RrQkv1XwKz1yhR for ; Thu, 21 Sep 2023 03:39:19 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qj1AK-0002co-FL; Wed, 20 Sep 2023 17:39:08 +0000 Received: from mail-bn8nam04on2064.outbound.protection.outlook.com ([40.107.100.64] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qj1AH-0002cB-ID for kernel-team@lists.ubuntu.com; Wed, 20 Sep 2023 17:39:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LzPbBeyFs/22mkkqH2ZgYVhFBifKtlwlhlid0YSb5rne/DF5vEAWb7N6w42u15HJxEvMJ5T/q4UwQyTN87ZNtuF/bNJQOvcgu2Ea1HIEuuRup9nRJlvso/PC3DMrFPVxeAWS3lKU+LdKlQQYP5AgV4AOCuWE8yXTrstZ/o4xm5tpHl7O0LjOG7EwHy5iVtCEMTEsAj3N/Qw2XJ4XVcp2CN9lLlLol9iswhPxUqCA4a+HkNeW7d00GQx+lK9Iby1LJiegN2plpTi1JUqgf6S9XKqhBhO2yvSPl5P9a2SKpBuxFhNeqd+5Ol1v1pShTXTV5G2NR/uNrb6GpvLHhvcZkA== 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=GdrCh2x+Z7FNsW29OzwO0cgFQ0eOAMDTtsVDkKqlE5Q=; b=FVnsYn0SUhXpJITF40dXAkxKU3LZEhaZmP9nMxZNCP6GuFEur0tCawEOVikH0jIH/lblJGDchUVIzzlFzcDhtXbr9g9e9EkkUrQfBct/MITQp+sp0QRBb+aHdvDEZsHx3AnFPJ+4qc0Le6jx25hH1Ccc2IXfoz/mUh93hcdv6X42LsfXqafIlqDGeludl/Z6p+8gB0+EPN8r1DhwbeFa1FentFtXDMWKuPowFRRZaJr408rrWvZT8N9zeXUn9Z8xUmGNqf5+iqm9xcaM6Vwg1f1WaN90skaSU1MIKQpdD+8mjgA6cUOe1/u/9ujQI6/R552m/qp61uaK7k+LR3i+JA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=lists.ubuntu.com 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 Received: from BYAPR05CA0023.namprd05.prod.outlook.com (2603:10b6:a03:c0::36) by SA1PR12MB5671.namprd12.prod.outlook.com (2603:10b6:806:23b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Wed, 20 Sep 2023 17:39:02 +0000 Received: from DS3PEPF000099E2.namprd04.prod.outlook.com (2603:10b6:a03:c0:cafe::a6) by BYAPR05CA0023.outlook.office365.com (2603:10b6:a03:c0::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20 via Frontend Transport; Wed, 20 Sep 2023 17:39:02 +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 DS3PEPF000099E2.mail.protection.outlook.com (10.167.17.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20 via Frontend Transport; Wed, 20 Sep 2023 17:39:01 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) 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.41; Wed, 20 Sep 2023 10:38:48 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail205.nvidia.com (10.129.68.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 20 Sep 2023 10:38:48 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Wed, 20 Sep 2023 10:38:47 -0700 From: Asmaa Mnebhi To: Subject: [SRU][F:linux-bluefield][PATCH v2 0/1] UBUNTU: SAUCE: mlxbf-gige: Enable the OOB port in mlxbf_gige_open Date: Wed, 20 Sep 2023 13:38:44 -0400 Message-ID: <20230920173845.12956-1-asmaa@nvidia.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF000099E2:EE_|SA1PR12MB5671:EE_ X-MS-Office365-Filtering-Correlation-Id: f7faf754-b1bd-41d9-f477-08dbba007a3b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yRlIMHNBFgEJJk78aG0fEpgvmbJN03/iuIzBhmmUIs1UO9VQPASAS6bZxo8uEE1E0v4Me6Mj4l8EJ2F9PdkK2NbQFl0tc2q4dpx9QR0P537VL7xd0xW8tvQrAdPJc0Bm0Ldd3kXGKPW2Aq6uJluBdsA2gWImN8i6sTjUHEXUZCHQBz1+uK5YH8tfg3gwHZt/QcWZEBgGAcdj3y3qy9ZuYAdG4W1X3LqlxBfNXOe1muhtrFgnbdmV94eti1fyKPXyDXck6x8sz2gfDn5gW/okPqqiwR/Ib7ep1MR7ArgppKN/6wDWFLoS0p2z0xOAdySfq2ThnUTsDKB1vihhgofdR7O1UF2LCBLNYeXFRYwz9llEfA+8WZUnSeckBBe5iybHhfSNEbXv3Aa1kgZ8UaeF6HtffhK2yJ+peEoVNZ4BaR9BEwJ3F3+a1AqHwX2g4ipHMW1+Ii3AROnceM4czR7QPU4dqAkg0j5uY6p2ubP8CC/PL1w3Ya64RlnZcV3olCEq8ROeekWaLHALtYjnuIvdoGFgpqNYcQYTQGw9438vvd6MP0tbA9PB7TItjRJWrATG4j8vPbVJGV6HiM4/ILtIyJmxtzPiNF6yPmcPYPWhH+m0ZGcRPJ28suz1mAnPiAIBLE89NxAdA9LVsY6+j/YfjuaQnDuTpcUe31juimZxqe321+pGG62HioNxvGqwB61YQ+CKZMS+5lOdJGUMPv+1+FgnjgjOS3PT/YvgMbcC+cUE4rmzP2YpTjOe6rzfgyCZalwltr8+AEIJRRq8PcXuqYAc5kzTm1bvE9vxlOqmcR8= 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:(13230031)(4636009)(346002)(376002)(396003)(39860400002)(136003)(1800799009)(186009)(451199024)(82310400011)(36840700001)(40470700004)(46966006)(40460700003)(36860700001)(478600001)(70206006)(70586007)(8676002)(356005)(6916009)(47076005)(82740400003)(41300700001)(316002)(8936002)(7696005)(4326008)(7636003)(6666004)(966005)(426003)(107886003)(336012)(26005)(86362001)(1076003)(5660300002)(4744005)(2906002)(2616005)(40480700001)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2023 17:39:01.5166 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f7faf754-b1bd-41d9-f477-08dbba007a3b 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: DS3PEPF000099E2.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB5671 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: asmaa@nvidia.com Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2035128 SRU Justification: [Impact] At the moment, the OOB port is enabled in the mlxbf_gige_probe function. If the mlxbf_gige_open is not executed, this could cause pause frames to increase in the case where there is high backgroud traffic. This results in clogging the BMC port as well. [Fix] * Move enabling the OOB port to mlxbf_gige_open. [Test Case] * Main test for this bug: Check that the BMC is always pingable while pushing a BFB Other tests: * Check if the gige driver is loaded * Check that the oob_net0 interface is up and operational * Do the reboot test and powercycle test and check the oob_net0 interface again * Push BFB multiple times and make sure the OOB is up and running [Regression Potential] Since are moving code that hasn't moved since BF2, it is important to make sure that there is no regression. Make sure that the OOB interface is always up and pingable after the reboot test, the powercycle test and after pushing a BFB. Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Agathe Porte