Message ID | 20230314182405.2449898-1-vladimir.oltean@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> 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 31803C05027 for <netdev@archiver.kernel.org>; Tue, 14 Mar 2023 18:24:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjCNSY0 (ORCPT <rfc822;netdev@archiver.kernel.org>); Tue, 14 Mar 2023 14:24:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjCNSYZ (ORCPT <rfc822;netdev@vger.kernel.org>); Tue, 14 Mar 2023 14:24:25 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2043.outbound.protection.outlook.com [40.107.105.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3547326C02; Tue, 14 Mar 2023 11:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L6y/ViertNUgf7jrhyOaclij2eWI3hd6LsCRbKVWg/ytnZy2FyEn0gvqq2qenjNOOwWJzfFfOmgeLK2yuA+97F90l791H37IWYMYfies85uA2wR+JmiSiIReO/EQmuF/xmZkYyuU2GbnkDUP6qwuOYq+/EuXXkeGsw36Whia01/Bntffr5dvaFIG/yvA/5Zf2Fqo+jbTZU/mhdLMxX2z6k9g9AFlk5Pod4Z+AeicOACDG9yzFHO7bXyaTp37qajdCWEmEjdlo+yToX+coRVGZy45MGEpBgxss5ucQhjzDKbrjaoOmMGzqn2huVw/gqWoxi+JRTGwTZD3aROoN8IaDw== 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=zTE+O8CPT4M4Dh2ipX6y2fS6CrkQicsI4hEQUu4dNgo=; b=QuhbwtdSW3MxF78IwaV+XBrtGQIy2DgvuSbjYa1cUHpEHhTHdYjJmbQjlocAYfHx4hjKMcLrDH/KfWQ8AxipWRZTvXHN/0B56xDyjnAiMlN8pLnLgqzlGY2NLT048CUMXusNZsBNMvK1smwpEiZpc1eGnSSMklsuogX54bLVGhY9SGL8kGr2JiPZDWAEnihIKYInuddiFoWjNtlQNKpkjRTBz6rsZWgRyFP8ZW8h4Ihu//LnQ21IUSWdRndhG3S7jZhxBm3UlbXAyN8+bNHHj6wVy4EXaclhiDPQZuyRwZm7k/ZZSXTHAsMEuyI6oOR/Udd8pzoQ7x/iR5WGsBN2og== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zTE+O8CPT4M4Dh2ipX6y2fS6CrkQicsI4hEQUu4dNgo=; b=jJv1Chos4Q2dkMEQVppaXdBAMuZ1ResFB5kTXh/oq3uicnHVH0uwFntlF1EOfXcYlzrV9AJMZ8OJhpj0XMQs5lbY2BRnJtfKlwhc0xaqLIno6jQt0u24DYBR5cITmID/s7nxtj5nTksmltMO8YpO10r2koZh54wMt3oUxLX3Nos= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) by PAXPR04MB8253.eurprd04.prod.outlook.com (2603:10a6:102:1bf::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Tue, 14 Mar 2023 18:24:19 +0000 Received: from AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::29a3:120c:7d42:3ca8]) by AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::29a3:120c:7d42:3ca8%7]) with mapi id 15.20.6178.026; Tue, 14 Mar 2023 18:24:19 +0000 From: Vladimir Oltean <vladimir.oltean@nxp.com> To: netdev@vger.kernel.org Cc: Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Murali Krishna Policharla <murali.policharla@broadcom.com>, Lukasz Majewski <lukma@denx.de>, Russell King <linux@armlinux.org.uk>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, linux-kernel@vger.kernel.org Subject: [PATCH net 0/2] Fix MTU reporting for Marvell DSA switches where we can't change it Date: Tue, 14 Mar 2023 20:24:03 +0200 Message-Id: <20230314182405.2449898-1-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM4PR05CA0032.eurprd05.prod.outlook.com (2603:10a6:205::45) To AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6452:EE_|PAXPR04MB8253:EE_ X-MS-Office365-Filtering-Correlation-Id: 13dc8af2-528e-4f45-1833-08db24b9536b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I/4R4dEqFqR49YVbyZ4BgyUmDasV95r4wtm6nH0N7yj26VLr/0bi/h6puhupCEXUnIUV/HTSqHJ54rLpTNqPs3Zxt1pv/GvA+CfBaIrQWKJS4OSpAjeYer1U5VGEPU09PCM1a60F3Z3zy1PGQG45BFBgVgfps8q1q4tbF1qYwprQCdCkXEP13rJ+XgUhiAzUC78WZtrCiO/0UJuxxx/prdk26v1Lav4KPe2lIwSokNUSoWdidYOpCkT+RJhquiYIkUFje/g1U4gL2Bmjxr9Z9Pg0XrGcCIYt4egJvk8+5O8C/+Ld/e5/dPoCS4jhdixQ1iYBTzpy06d+wGRr/zL+i0CNh4GzkRMn8g0Wxxy5GshQBohnKY4FJ5mo21oqJfgzIBpl9nTvrO6C+L0ouo9GGiinHRCZzGgX0TS/UcwV3w/wE1NiNMj8Atmw8d7oRHsxk5RRG3ONk5Z+a6oPdEtW+p+fLEQheWhnNWooSgU7ZLvekBJ2BuuW3MCwlGFqfH+pSbRc5+bCo5ssBKe1NH19wBSdz0ydARSzPjHqCnxPiZJP7CYTb992przhfzNB6iez5FqsHGKj2UnxxOU2Nn4HVjD0A4V5OVoK6/1bKgfod/Y5913QssAg7d1N3+jw2jG8Acjz4oFcypjc7t+jzq3mRkAHpGc+1SPEpsKRTUw2YogkD+7l4dC/ICXmy+Arf+/pVT84mKBarmCOBfQ0CM0aUw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(376002)(366004)(396003)(136003)(39860400002)(346002)(451199018)(38350700002)(66476007)(66556008)(66946007)(4326008)(6916009)(38100700002)(41300700001)(8936002)(316002)(54906003)(83380400001)(8676002)(478600001)(5660300002)(86362001)(7416002)(44832011)(6666004)(6486002)(36756003)(2616005)(6506007)(6512007)(186003)(2906002)(52116002)(26005)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rzn88GZ91NnEhsdDIztCZDkYwEuSvYWeBxmxRpnUDY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o+fNmXazWYid+vcQ/eP0NUjlTnU5uAFFLGEOFIMe3XJODqvTK/GQR3MBDMMfYbC0jh4tCuLYUeja/YhexBdjsNvVK+BjgZ/+iHj6ljfi2BMIm1pl/zJfFThWP5eARDVaKkkb7uR76oE9N/ysTfyoKT5ifDIN1DPf4+SQNgc/IvoDotv1blL2rmb/k2m85POrfVmGn3yrEQp+QiBrLrRdDXCt6B6z5ZEF3JIfeKnQJcnUYZB3RkRm/GUlUG7ojnQ0h8w7gO8iJmiYF3PufMDUlvvrshAaf5Sbq9h3qe2Ry7o3ZwoCmd2fWDmqD8vCEjNiWWFd0LYRh2gTE51v/Y85Tkl3x2+/hI93ebeteTvLsqJtZ8XTozIAJgbLDsvqKUr0vN8CDZzsYfLCN4TTSJW00pvV8oikfJ6T5v7hBTuCkLG97glF62O0qkthiDwZgelVxKmFDiZ9M5G6G/MtdS9rjYaS9pdGSNUyNrDhrCb4DLG5pPDnndFcQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 13dc8af2-528e-4f45-1833-08db24b9536b X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2023 18:24:19.2321 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YLevEUIdhc+liO4McANIvZbkLbNbwJFkIWpBYKxUTtlU0u6vCthOr/SlF2Z0R57CcIs8fFqrTlPehplMLaUqZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8253 Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org |
Series |
Fix MTU reporting for Marvell DSA switches where we can't change it
|
expand
|
Hello: This series was applied to netdev/net.git (main) by David S. Miller <davem@davemloft.net>: On Tue, 14 Mar 2023 20:24:03 +0200 you wrote: > As explained in patch 2, the driver doesn't know how to change the MTU > on MV88E6165, MV88E6191, MV88E6220, MV88E6250 and MV88E6290, and there > is a regression where it actually reports an MTU value below the > Ethernet standard (1500). > > Fixing that shows another issue where DSA is unprepared to be told that > a switch supports an MTU of only 1500, and still errors out. That is > addressed by patch 1. > > [...] Here is the summary with links: - [net,1/2] net: dsa: don't error out when drivers return ETH_DATA_LEN in .port_max_mtu() https://git.kernel.org/netdev/net/c/636e8adf7878 - [net,2/2] net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290 https://git.kernel.org/netdev/net/c/7e9517375a14 You are awesome, thank you!