From patchwork Thu Nov 17 15:37:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 13046983 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A5F9C4332F for ; Thu, 17 Nov 2022 15:38:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239585AbiKQPi1 (ORCPT ); Thu, 17 Nov 2022 10:38:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233989AbiKQPiG (ORCPT ); Thu, 17 Nov 2022 10:38:06 -0500 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2094.outbound.protection.outlook.com [40.107.102.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DDA359140 for ; Thu, 17 Nov 2022 07:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=foZ/zT/NgH4HzlkEtsDa8uy+nH/MzUM+BlUBF44GB2/eECQRheP5rofdrlC5CugXz3EMi+kkeupkpVqS1FH7A/s8bOv9+NUc4M8FYLZmXDhmOyIy0zASGf1RKKSo4sQrf/UhhJMN6bYkIeDDvRvmTRasMgA3/0ja0FiHA+Ncd65TjHN/rhHe8tqvy6UUeXfo5W7idwh5AGyKCYFHfA8TXS+TBZQBg6vuGrCupysCS3JPAE1hir1jKlpMLP3+HlYlBJB5fetg5XDso69dcyqVK0LQpiqfw5ooyBHN3R7HQwjYJ3a1az+CnQMoEADKBuIuWaph8lfkMVbpTXDG3VhETQ== 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=WLUxlxNcxTskkUHq0AZ/Kuw269e7V9VUhIFGl625GAQ=; b=HEpODn3W4VTCCIBo2HlteFh+VwwovXnOeYxmaudtihD5lr6ogSCfiYo9QWoKLkjOK46m6zj07Zuo+0fjWy2pPSpeSto4sgP/9f11cMhIVhjk+opzmy4a13KCi0/rSm34c6QF8KutILcq4FOQAK/vUJoO3b8tLVtmdFeklJZvFzfRayKnBMlAXiMPBjqy+gWXxqw/duUWBYXgHdbmsTuLxf4kZ+4+uK2C1Vbk9rJVLD6jrczNMbVAz1j1bt7EOB2gq55c6BxOKCV3VfOEzOTPSVcil47nQ2dU3ZezwF0T+TW/lk7Snh1E6yV1i5lvibGuqqWRs3YiZ+cjNLsSED79hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WLUxlxNcxTskkUHq0AZ/Kuw269e7V9VUhIFGl625GAQ=; b=OlkCzN1eU9ckDCs4Nd/7zMz5wwiAgeiinqd9pzdoP9Nb7TCmlTJL1J4Mx5goUkQV1WsBj4Fd3hqw1HhIYq/IjDVLb9hvnJ/sQ8024fj68nh5EXUAhHj8q//L4+hi5PudhQUvVhkAzNzQt1vYTn7T3Jsyc3pIZiH8M9R0oQZvIgA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by BL3PR13MB5242.namprd13.prod.outlook.com (2603:10b6:208:345::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.19; Thu, 17 Nov 2022 15:38:04 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::483b:9e84:fadc:da30]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::483b:9e84:fadc:da30%8]) with mapi id 15.20.5813.018; Thu, 17 Nov 2022 15:38:00 +0000 From: Simon Horman To: David Miller , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, oss-drivers@corigine.com, Simon Horman Subject: [PATCH net 0/2] nfp: fixes for v6.1 Date: Thu, 17 Nov 2022 16:37:42 +0100 Message-Id: <20221117153744.688595-1-simon.horman@corigine.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: AM4PR05CA0019.eurprd05.prod.outlook.com (2603:10a6:205::32) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|BL3PR13MB5242:EE_ X-MS-Office365-Filtering-Correlation-Id: 87e92d48-e405-479f-fa3f-08dac8b1b52a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 60gKCgXimYaZTdjC3wUZTTkf0pNwCHXTefq8ewfvDgSMC4PsjFQrFl+BXc+GHWj52ffC5kJ+hmLeUgngLdPlaEmT+X5nZBAys+YrNWAhwnh9yvdzV7GxeX3RMgy8dlIv6WMXDmt7ajR0PPko6h3JKJBJO3LAtXwS5wqcyyET7uVklciq00xdPLDkJ2d/RT+72iNa946BG03Uv975azvYsrAnvEwulGJXenY55hmWpHqJT0u3ib5zbW28FYxw8qh2rvWiYxAfQk554I54gukqJekMefjsz42F17dFN/K1HWW6OvnKU7YWj9ZW8XkGBM7a0bGBtJxMJDOoc5PVBRiUuTg8wf/KD7jQCCn4nyaX/ULTi3z62tX2ztHk/OGIKx9WY0zG6l4224aTpeKgyNBhpidSmcGpZ7Y2RIC3PKbXpZ7byGjGVsCau/ygxO12u8vcQSjO6BVve0JOQRoZEATHCfa78HAYabEy1MCNdzugw1PHP/vk3EwvT/GJygbe8DBSWfFkHyPXNF4gS5SWNx7MEPm+uMuuhcOU+JHXGR00jrN8B8Xfm75uV827ik83C2PWvx/7Yc7UjuB1oRpbpgfaRYJ7Fn+z1Ttd54HUCBMSHnM8qsBqXQhc6Gf/1vFK6ji4qY+ZIk1Kx7udvIzp9npg5HjBQ4F797mWf/jWfOQ23PxXNyUaErW/7TxiUQuEnlMM X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(136003)(39840400004)(366004)(396003)(451199015)(4326008)(83380400001)(66476007)(86362001)(8676002)(66946007)(66556008)(5660300002)(4744005)(44832011)(8936002)(41300700001)(38100700002)(2616005)(6506007)(6512007)(6486002)(110136005)(186003)(36756003)(52116002)(478600001)(6666004)(316002)(1076003)(107886003)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VF6xL8s5LEz4fh+v2bZeMGdJvd1g?= =?utf-8?q?rhhE6vItnnxfGOt5pu11SU2IDuCKjM00G7P1pNZXCHK5hSBgybTKzpP9eTeNJ9ZoR?= =?utf-8?q?Oq3ggqk7yxNEcN9vzp1fcWDukg7xHXgS4juZnMsrMdc+6bs9Tl+5TYoJGFvJiUGwl?= =?utf-8?q?yb2NiRCm5qccMGqhWPxFKU6b9rWBPDfRMw1TMgRXxAbe5Jm8dWSHmmiT/UNirmmGG?= =?utf-8?q?qXqSvDS499HHNDOYaNTjrrW5mL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J4pjEXYFRBPIj71uTt/6?= =?utf-8?q?dRUc+QdGLDqxyJ33IatbpWY4+1HHincr9Fcrr8PnoyhfASmuDhz9TGyYsrNE2Ftq3?= =?utf-8?q?vLdLEkjxg1KtQcC1qVK4xI5aG3DB96cSPYkiI6M0lzfN2nBCzfDBMAAJLDwxDCCvh?= =?utf-8?q?EcCBzufxIhjxGHLD1lOE1Ef85OKxavrFtre9abVV319QhegmgPY0KZyMcvrzU1HQX?= =?utf-8?q?dYQJ9972ENZbfSUG/DmSOE3/n0xylWXP7P5Lq5okeKejAvYJiiPEjj7hEI2Sw1jtY?= =?utf-8?q?v02P0gk59PQCU/6jQVxacC6gic479wZSmkqTkR7KKSX30W+3tqr8h7X5Er58owzgE?= =?utf-8?q?L0vPN+CYkCw7lgeII1yW22sPo7U3ztEkQSEzyc3kQc9U3eFUcK6w3zXbg4AqTjo1/?= =?utf-8?q?3ogPGhMjSSL72W9PJ+ESP98nJXG3KKtma8gkwSszXRvd0DT1dskc4jCdQImnxQhwn?= =?utf-8?q?W1O3yZPfnZ5ZE1oWm38qY5EcxaU9E85qg=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 87e92d48-e405-479f-fa3f-08dac8b1b52a X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 15:38:00.4056 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SwPbIkGvrppU0F0rmJnMZHoIAsXH5/lV87Nt6v9RJi9tigGcXZGWfXN6NqmfOfg9j7WcIFWjNDsUpAOWe03xyCGW6AW7MS3ZrcPg1OyVTvo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR13MB5242 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hi, this short series addresses two bugs in the NFP driver. PATCH 1/2: Ensure that information displayed by "devlink port show" reflects the number of lanes available to be split. PATCH 2/1: Avoid NULL dereference in ethtool test code. Diana Wang (1): nfp: fill splittable of devlink_port_attrs correctly Jaco Coetzee (1): nfp: add port from netdev validation for EEPROM access drivers/net/ethernet/netronome/nfp/nfp_devlink.c | 2 +- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)