Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp108537rdf; Thu, 2 Nov 2023 15:26:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4O7seFdk+21F0W6UPP0pIM3tELZdPBEDa47csBXSkK6Ga055/ly8v3EEcbx1pU3bSfNCL X-Received: by 2002:a92:c68b:0:b0:359:4223:5739 with SMTP id o11-20020a92c68b000000b0035942235739mr6944075ilg.15.1698963958671; Thu, 02 Nov 2023 15:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698963958; cv=none; d=google.com; s=arc-20160816; b=eTaPV2lD0VPRK1Pt88Cx9Rzy3Pdobywrg/NKByRRJiJfVFArDA3Wqlyyr1D36lIsvO OALx/j+TPKKJjxiaf3DNS6Wc1xmvY7cm7MxCQXtMwN4wRPqAzI/Ize9a5LvFKzQaKVbW AV3/Yh6AzzDHXoMgzu9nibN6YbpD07h6NkkjPONm2g0NhakgTKPHJxSC1MGOYfrfm2Th afkciBJ51MVHvYneLu6rb3/t2RcLdXXnqUuStI9FZsjhmvmmXu9Kt7mkmErmKYk6vC9P adLV0GsZhvsDVBw1n5lRAeip7UwNlwavqLRcNOL8GCNmyg/7HnnUWT0hXPSO8Mn5Ft7N inMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Vavql0gOFP7X20anq8HgeOWwM7lJhURUerirAcwtVGo=; fh=6Lapytn7CSnL35WYAHDRN/z1I/hQD2EwGL5vMnhkte8=; b=W3+k5pedk2UmpOBYDOnhYhrsTwsXvviWPwh/5f7tyfin525VZS8awQiNHxz08DV7cD tu0xz6KYN2TvN9OgVeWT4ySSSEoy+xt8MufQOfMwnP1s1oQIy/uyppu9n6pMB3F+NdoV aQyStN8uNi1P0GQdtabJ+wMrby1XT/FCOXinXEJuRx0o3ANisLWaRRwRqNDbEql8jAy/ 4y4iCQFMWH+aQlJ++S6DBLFzmGzUCVoGqH2Cevs9SryIVO5skm/FvFU44CytivYvmhQ1 7IPAmOzilnYo/b31tWMeeUjTmZ3oDfnaNpGqfU7dC4pEc/rp3pcPUDVgBPm3IkMYSA8F Osjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YwADAbxm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e18-20020a656892000000b005b9b68add89si372761pgt.84.2023.11.02.15.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 15:25:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YwADAbxm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 13FD580873AB; Thu, 2 Nov 2023 15:25:18 -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 S1377485AbjKBWZH (ORCPT + 99 others); Thu, 2 Nov 2023 18:25:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234140AbjKBWZG (ORCPT ); Thu, 2 Nov 2023 18:25:06 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8962B138; Thu, 2 Nov 2023 15:24:59 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1cc330e8f58so11963785ad.3; Thu, 02 Nov 2023 15:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698963899; x=1699568699; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Vavql0gOFP7X20anq8HgeOWwM7lJhURUerirAcwtVGo=; b=YwADAbxmqXBvi0Wo5VZPwjvzTo+pdp4JYRplxlYOZvVyNTBL3vXP0XGdLq4zGY0Uht qQLGsOkGEw6gDW2y9TehusI/tnIvAUw030DEfEZ7O33sAtb3ABctodrawihYddZWGUTz fT8wbqhLWFycwBmUfgME3nrMgdq8uQ5CsW+kdHshe2Si6qidyIu4kiiouq1dy3yd67C1 BwlhFR/hAIsl+bNcON3FXwNTJ9vW0Bep3mPSYWBYUn7EqD458mBb2e8LJ7u1NO7jo747 dM+tBibNa8+HJcW51xBQR0CTJf3CEUEdn4imCpWDRB21GBIaSXZ/J+ojBF+Dyi/xBsZ+ 7wEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698963899; x=1699568699; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vavql0gOFP7X20anq8HgeOWwM7lJhURUerirAcwtVGo=; b=ffiKe38bMy7cglcIdo+378EhLxe3WeEd+nATlgwVCUzignF/VErz9RfrymQ/L4ufOm C2nhC9WDR3G0H9SGaAiXJYLHGYULg02iIXy0JZGTQrO536EkBuZtul6fmpgS0ScBzpYn lzFlKlwkFcOsHUtrb/vhhGWaAthkAEOrxo7uw0KujegiEviiKiC7wJMJMaRl1jtabD6e EHF4aulc/FpCs+uuN/8TWTFztF1ipQF+4BN7lOW5eowgEyJMDMJ1tgQl4ADAdOyEefrQ Iq9lh8Ii4msZ9E/zXDspbBoE6X0Rn0a8pPuInZhM9QoNRJXJuLsvF+TzxFscugWamprd Ojjg== X-Gm-Message-State: AOJu0YxEkBBCQsqq4ZvKVgjrGD0odNAo3CLfREeOxa60imujtP+Z9Zf9 lmopCtEzQziXAYQw1wYrbho= X-Received: by 2002:a17:902:f687:b0:1cc:4a23:c5fc with SMTP id l7-20020a170902f68700b001cc4a23c5fcmr14195864plg.2.1698963898858; Thu, 02 Nov 2023 15:24:58 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id t12-20020a1709028c8c00b001c444106bcasm191875plo.46.2023.11.02.15.24.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Nov 2023 15:24:58 -0700 (PDT) Message-ID: <05fbf600-027c-45b6-8f09-a3c03dde025c@gmail.com> Date: Thu, 2 Nov 2023 15:24:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v3] net: dsa: tag_rtl4_a: Bump min packet size Content-Language: en-US To: Linus Walleij 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 References: <20231031-fix-rtl8366rb-v3-1-04dfc4e7d90e@linaro.org> From: Florian Fainelli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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:25:18 -0700 (PDT) On 11/2/23 15:09, Linus Walleij wrote: > On Thu, Nov 2, 2023 at 7:43 PM 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! Yes indeed, I forgot about that, never mind :) -- Florian