From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.52.54 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796107669; b=O4KQ056sis5SOAIiIEENIa/Dz65H4SDfIjfpONPu5rqq93t5miu969jlin9Yn81v8zo7 fAcRd0paN71Q4vxszj4PG8cYhsgFmI0F14zaY4dGq+LiYGWxvStXaeShYUTYPJ/I+0kxu +kQyoQfAn8NRv0/53XQgRmqko9b1x4lZKHmXXRBqLmskgGUDZYu6Fqrcb5jZwaB4ZLKIC RAutlfI8GO45FqtF0X4cMOpYgYjTIyY1/0ZzCPsWk4HT2KmrKA50hdHACzWUeYtaFErLi 8U1fkWMJ5LX8btZKB1WhUfVBhpte32C4M0aIuZFDe0nU2KZ2lB0DO1wszKlc5G8bNPg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796107669; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: Content-Type:MIME-Version:Content-Transfer-Encoding:X-Originating-IP: X-ClientProxiedBy:X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=QbOihSOpRXNOXdzZ9ElcgUh/xEqppGUy8vUrOjSWCeg=; b=GmboHV/9OiwhKRuECLYoPAHjmY1DGzR4asNIg3me0GpdXlR8qxzKmYGz7wIpXc/e9Guo eLg1CzRw4LgoIRQL7zlDkK33z1C2G8idIlwonyYU6K6wnQI4I/obdkDXfokuksViZyRew 9WNRT6DklWAi7GVgYdzJkR47Mi3uhAPII0WVB2I/9cSXuorDY5rZjoAfMC4NMCyh5vyhc YDm6a+aw7dy5Tr5DHEWOQU9Mj164YJgbDxfyNiHdwUVFjUr7+Vriz8qJRGeKzwZoLg0+Q Q/5yBMBIAlwSW5qRLG88dTCvifobx+5SlEcctzAdkm2zic8canLm08xt8j/XoKkOQUQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=ykKxuu+0; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.52.54 Received: from BL2PR02CU003.outbound.protection.outlook.com (mail-eastusazon11011054.outbound.protection.outlook.com [52.101.52.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88C60606A335 for ; Tue, 1 Dec 2026 06:47:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 88C60606A335 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=ykKxuu+0 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dDd0/pfSB701BDgzAQczICNPrdFOdZFJEhUM5CDWnaDguguyWdBYv/jjefJCW4qdZlLnhzApD5si+vSeozEJQ449pQPY7qFfmagAqBmwQjBwtpEv6QvBKq4bME6VtOA91g3pQ97boIKi9G0psxOYHfh8fdCG+DhwjkAFAfaOG+63nULeyejfUdxg5an3t0Z9xdquD2ngbX49v6hvzCSkhQAaptgw+7jfVI4E11PlvKyXQL7Wk48zt4vMDdD3AKaXkvQCrz88IqAokMTMS+SXx9FVbsgOgrW7GqNAAOmr+c0Iw6cYtwEGBQOhFyj7TDgsTyoPF5HCAdgDFNSpuCQbpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=QbOihSOpRXNOXdzZ9ElcgUh/xEqppGUy8vUrOjSWCeg=; b=EYmPGqyA2boCC/hvMTYNSPjp1PTgjhOSoKWc8lfL6F/T8j8XzCpWyLC6tsbNW6iTnAlSHLkBDxI+36HRrZPnbf4iGgI4uH26KlSSvoXKvkVW+mS6mQNMVjyQ2Zpdk3j+yExijtcu9ObNw636Fdfn5nH0mTj+xKNii/4T3khf+LuQhqBY9WbLoCKKD5pLqyZI2oouatcIXU9TPmknyGH/JS4qkZIOSPgVBjHflVZX7sBDpEj9WDv/ZJOl8dJE6RwNl0sJSuLZjW2oAdE0seBAGV3agXh8L4iatCLVuJWX7xWvXbCIg6XdZTQAw0A1m+SxGKk/ct0A+QlXu22Ttxl5fA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linux.dev smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QbOihSOpRXNOXdzZ9ElcgUh/xEqppGUy8vUrOjSWCeg=; b=ykKxuu+00NqJzdzLmu9L/mkJ/seR55GjOIQrHgjkDx3YF21dpB1ekYyo2au9LgPD/fogwQif3r1qGMKIPfBv2/z6DkUvtXY310TL1zmDCxuE0Zfh6NMyBiJuqlDPtU5o3MuamOSbsnLdiINr8aBMxMAU9wwX5X3GL8hb39AC9i8= Received: from CH0PR03CA0430.namprd03.prod.outlook.com (2603:10b6:610:10e::15) by DS0PR12MB9399.namprd12.prod.outlook.com (2603:10b6:8:1b8::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Tue, 1 Dec 2026 06:47:42 +0000 Received: from CH2PEPF00016D49.namprd02.prod.outlook.com (2603:10b6:610:10e:cafe::5b) by CH0PR03CA0430.outlook.office365.com (2603:10b6:610:10e::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.10 via Frontend Transport; Tue, 1 Dec 2026 06:47:42 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C Received: from satlexmb07.amd.com (165.204.84.17) by CH2PEPF00016D49.mail.protection.outlook.com (10.167.244.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.3 via Frontend Transport; Tue, 1 Dec 2026 06:47:41 +0000 Received: from SCSEJOYNER01.amd.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Tue, 1 Dec 2026 00:47:39 -0600 From: Eric Joyner To: Vadim Fedorenko CC: Eric Joyner , Brett Creeley , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , Shannon Nelson , , Simon Horman , "Nikhil P. Rao" , Breno Leitao , Arun Kumar Prakash Subject: Re: [PATCH net-next v6 4/6] ionic: map the FEC type through a helper in ionic_get_fecparam() Date: Mon, 30 Nov 2026 22:47:20 -0800 Message-ID: <20261201064727.77323-1-eric.joyner@amd.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <6c1ae0e9-f03b-47d6-b8c7-0e4b2ba225f9@linux.dev> References: <20261125-ionic-get-fec-stats-v6-0-1ab49c729c00@amd.com> <20261125-ionic-get-fec-stats-v6-4-1ab49c729c00@amd.com> <6c1ae0e9-f03b-47d6-b8c7-0e4b2ba225f9@linux.dev> Content-Type: text/plain; charset="utf-8" X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: satlexmb08.amd.com (10.181.42.217) To satlexmb07.amd.com (10.181.42.216) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00016D49:EE_|DS0PR12MB9399:EE_ X-MS-Office365-Filtering-Correlation-Id: 97c793fc-809f-47e6-fe17-08df4f76ff6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|376014|36860700016|82310400026|1800799024|23010399003|11063799006|4143699003|261009223027099003|22082099003|18002099003|10067099003|261026140227099003|56012099006|261026121527099003|261028144727099003|261021135927099003|261022105027099003|261022113327099003; X-Microsoft-Antispam-Message-Info: CeNR4aIaz7XcyWCwJ51DwHgbT8oThv03Iw3KCow0YVYyMF6O7Ymgyqyrj443p8pKXd2q2022DuBbJuGXShoosDX/uZimyC7qggqZL7lqLO4Pst8udF0jyXpVS1TJVEZ2iJww+UsfInrNV0hdZE3SCG+2Gw9fETRyi6p1x7FWENIeRKiQ7DDwwCtyu5sbXJrWYhlOe+EE6xnFEDfdDVO1WU3YzHIeBNGMLaNE6KtWEZg5Bf4B3jfSokiBJkWQKB0LbePnpXjYa45F2HstLDQTyzO+2ihOtEuVVokNhkvE7iT4ubxtCxIP9H66NNZ6kaJPzN1vNKsqTOw19naBggqkYHrB2bimtsF0wBLrmM0k2DSO8VN4qKcFsduMWT1+u6U9/7d8VE+LfyqZ3MwZsPVbFbhb7F9IpT0kRUgppcPeHg3WFmgMsk1IXem98ByeO1A/hkg0HMR38n1O+VH6WTXBLNFvDhz6mGPA5/qENv3w2/CtOkvJ4oOl0LaIDi1uybm+3TplW+EL8RrPfWh3X2AScqVIy+D2y8g+aouLiPispLsjY3Me9wI68P0D21UQbmYXB+uwPz0+W9YqwxIK524ycvmJ/Hqw0Dp5HRI0r99MlCvD+mED4iLkTM/5IoT3iVz93BZwzV4TpTgddOWaum3LXVDLC62o29/c6mafqHwc8CCnHjUDcv9IGHnpreglukL1LpawmWydZODIGaUbkrUTzA== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb07.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(7416014)(376014)(36860700016)(82310400026)(1800799024)(23010399003)(11063799006)(4143699003)(261009223027099003)(22082099003)(18002099003)(10067099003)(261026140227099003)(56012099006)(261026121527099003)(261028144727099003)(261021135927099003)(261022105027099003)(261022113327099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: K1hSx3jjA2RWQVZH9Qo7H6Ygi2AIhGxbYapx3qql4QILSxfmExicQBIWsvfISYhXtW0+MbmCUsSTpvvpzby9BPPMMruq8sn19M4lk4cv5+Dw9BE0/vmpC7v5W3lrlAdI4+cA4CSMHl6e1gOuREHydT5q43HohGIvPAToBbtdH9aJXsnPvCG2dpMsq0Ipd7ScpjVH8YoZPJUQVlSH+wrk7vmUOsSG/OO75g2lGu1gW37DtZpz0b0njsdVBmpBdV9K/U+DK3aMH4DcomI4M6heaU3EOxqwvtqfKaBvD8D05cb/Adx91Pkcuf1bP4Y0MivY2oLdjbhg0Szm03KnPsrqFNYtv49wS/vedVTsefQBJ0Bj9dxqOwZ7ADogGTLbP9dtHs/caK/ndUr+xkY7pwkwm2GTHiUzDv4keRnoNYfBatXfuvc8HimYwbqomS7bIASh X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2026 06:47:41.9641 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97c793fc-809f-47e6-fe17-08df4f76ff6c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[satlexmb07.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00016D49.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB9399 On 28/11/2026 13:26, Vadim Fedorenko wrote: > On 25/11/2026 23:22, Brett Creeley wrote: >> +static u32 ionic_fec_type_to_ethtool(u8 fec_type) [...] > this added helper can also be used in ionic_get_link_ksettings(). > no need to respin for this change, but just a possible follow-up Hi Vadim, Thanks for the review. I looked at using ionic_fec_type_to_ethtool() in ionic_get_link_ksettings() but I couldn't tell where. If it was to replace the three-way if/else for advertised FEC modes, it won't fit there: the helper returns ETHTOOL_FEC_* values, while ethtool_link_ksettings_add_link_mode() uses the last mode argument as a token that is used to construct another identifier name (maybe it would be nicer if it would map the ETHTOOL_FEC_* values instead, I'm not sure). v7 changes patches 3-6 to address the AI review of patch 3, so it drops your Reviewed-by from those four and keeps it on patches 1 and 2. Thanks, Eric