Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp101584rdf; Thu, 2 Nov 2023 15:10:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8/RwdEtW3mrKcF9cPv4/UMJO94qQS6cqVSviEgnpHR3DKtcq0HEcVhVk9DLzCtUgqMzi4 X-Received: by 2002:a05:6358:c381:b0:168:d12b:a166 with SMTP id fl1-20020a056358c38100b00168d12ba166mr17911006rwb.17.1698963042121; Thu, 02 Nov 2023 15:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698963042; cv=none; d=google.com; s=arc-20160816; b=p+mhBKrXxpt9oa4U+TcuyieiyoTf2qDG9GwCAjZXM+MUR2qv3B+WdEBM08B11sB789 ZTFYGDo6jE/dMqO+v2Uot18YeAxDmW/hGCNFcEwSEDF0h+nzqXAWRp/GNxhU0Bu785Lb YFu0TjawQW8as2FjWGrzB+sQ58XyMefgWOWHE6gQ9+dytqnZBTZPn5fzLrSqwu2NCbDD F4LANDr9fuJwUV3x5+WMbsJQpbA+s1j7jOjGYrXG/o+X5jXBCBrkaf/X6k1tU5Vcakbv jt1mWHo3qDC9BBLB0xaojrpfkId0b7XQdPAIvYPHp6r+OQUqN0R0T/pDdgizK3VgQPiV K4aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Jlv1B7XXwhStizLmYC3q5QyPpoGJxIV5oA/dcG7ZtIs=; fh=K2r6jBpuvSIuX7E20MVEy1YbKdLgAJlO44d7ijzRpRc=; b=F9pAljnrrUfuVA8tjEZrbxACuQfoQkGFTKp3uNT0sVPVl618LxlQZIxAEmi/Ov1FWR yI+hQqnOTZvp0GUQWCI9RokaQUSUvjsqH5m/5oFjqvDMECdmE2Z9WHuoFap2go+2hIiV yyPOVWBLLxew/W3ugKFX1Bx23XYOduZODi4wdnTDwyEdtegl/xNG5E+nrgoQ7oyXElw2 8fm0+3p7gytqAm4tW2M7VdCx4zREr80Iw/U0wJ+TRqtIAp8bLg5LzgDez9+Dis9wuHNR PirfRgM3DVlhtDTLF5bILcOPP3J9hzMhklAvp8NRXN/IoR/AySWEIjKxNyolZwtkYtZz 0CLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mWjFO2g5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c12-20020a631c0c000000b005b8555564e2si334666pgc.565.2023.11.02.15.10.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 15:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mWjFO2g5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B7C688090EAF; Thu, 2 Nov 2023 15:10:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbjKBWKU (ORCPT + 99 others); Thu, 2 Nov 2023 18:10:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjKBWKS (ORCPT ); Thu, 2 Nov 2023 18:10:18 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCB4C191 for ; Thu, 2 Nov 2023 15:10:12 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-5b35579f475so17557227b3.3 for ; Thu, 02 Nov 2023 15:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698963012; x=1699567812; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Jlv1B7XXwhStizLmYC3q5QyPpoGJxIV5oA/dcG7ZtIs=; b=mWjFO2g5wJdwpu746Un8zS1DlY199XDUqgzXgc1oz+mhO9PWmfhGaM7645dn9gnXWV cM8aSrcUI3tTaIXt6hz4i1sgs5aExwUnqCFKus411djGllYxvjVTNLlotqJh6Pdr8p+W zwz6S6CznyK8I9Y4Wy3uovaRsHmnFq+2CufbjmPhh3bhgBSaJeKpFkmF2X6OqQMhJDQ3 AOi++kQ15HBzH6j1QB5V1F1UuZZcN5uTkd936w8sD7znEkoSO2sPgvX8G3pQ/oH5aL2B SJgUDpWiyDngWzKCDiRPDkvQGEPuZilA/pL9IuPhHA2kiLTwYW4FbpkAIArXoLLYw7lW MiWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698963012; x=1699567812; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jlv1B7XXwhStizLmYC3q5QyPpoGJxIV5oA/dcG7ZtIs=; b=AbYgQMczbRr6Dh2nkSlttdWQavzovu9YJQXPEfQLqc9u0U4HNGPoUZQD+fvVOqp+JN Ha/Bgsm/VdluXQBapIOc2JsFhe8EXgiM24yzN4gwTQuVx+XI7TOg/9zU8khTCjNpRauG UoRzrrKx3etev6gVa/P6J0Yl+EUJ3S6MqljWEX0FObDrO56eACzgTz/3vqroRC/KFQ6t +HlqSiKVR0O2qP5KW586Q4HRHCBqc88IOyO02YNcNkP47vCdepczXCQuEqBA2Xxc5ZPB J6aeHA1t+CJiFsMo3D6/VsSFxVoTNAHZ18f8Jtu1NX48clGqBf3ZP5pSyBiixqTjqIlF 2ruA== X-Gm-Message-State: AOJu0Yy57w8I8fShkG7sM2PH/H0vezA/iihZzvRTA5Kde0H09ju64PtH AfGtuMT1GB/Su86q0m0jzdpT6VpljNytFQ/s0LbUcQ== X-Received: by 2002:a81:9290:0:b0:5a7:aaac:2bce with SMTP id j138-20020a819290000000b005a7aaac2bcemr1117873ywg.35.1698963011965; Thu, 02 Nov 2023 15:10:11 -0700 (PDT) MIME-Version: 1.0 References: <20231031-fix-rtl8366rb-v3-1-04dfc4e7d90e@linaro.org> In-Reply-To: From: Linus Walleij Date: Thu, 2 Nov 2023 23:09:59 +0100 Message-ID: Subject: Re: [PATCH net v3] net: dsa: tag_rtl4_a: Bump min packet size To: Florian Fainelli Cc: Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Luiz Angelo Daros de Luca , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 15:10:36 -0700 (PDT) On Thu, Nov 2, 2023 at 7:43=E2=80=AFPM Florian Fainelli wrote: > Looking at drivers/net/ethernet/cortina/gemini.c, should not we account > for when the MAC is used as a conduit and include the right amount of > "MTU" bytes? Something like this (compile tested only): The DSA core already fixes this by adding the tag size to the MTU of the conduit interface, so netdev->mtu is already 1504 for this switch. I found other oddities though so I'm digging into the driver! Thanks, Linus Walleij