Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1434957rdh; Fri, 27 Oct 2023 14:23:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9pc9IkKixdao44Xc30ROPkvPh1w4q++3n4aSkqkZi2ntn2/ok9na/T5+8CeWdv9697UKm X-Received: by 2002:a81:e20a:0:b0:5a7:b9b1:c0c5 with SMTP id p10-20020a81e20a000000b005a7b9b1c0c5mr3701500ywl.3.1698441809744; Fri, 27 Oct 2023 14:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698441809; cv=none; d=google.com; s=arc-20160816; b=UrfXMhQM2oHv+l/CX6lEjGdzUyJAeFwhCQkexJ1itHV3Jc2zW0BvG+lZ4oM7IDdAQi hA0JlCEf8vVR0zuX3vqnqo4Gwe/3CCUvvVWVGWI/Lh2prGY0nAM0+3DpYLL5vLdI3lhc rb1ub08e2NWofc2LoM2ajtFSTS7z19eU7laMwOn7EARe8nMsHcrISelF/7XmbX9ecEH4 d1H8HKz+KyKOyUgHsU1cFGaGzk9ofmvE70goH34xY05oUYcbfTi0l13q6BmnZZ96cpDW G3uwWSLXnETxrxYZM5S3A7aiPhUuJSG4YSOhxzxzw8QGEHZnzF8/qS6XsQ51HQULvqTr 5SRg== 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=Q4Q8nuDM9k/u/LkEVyOR5WiT5bOMm5Q+OB4cIkeRtaU=; fh=4XAe/RS/JvernKacNUoOUNPz8+9mozfn1TqABktZrUA=; b=obPnk3m6glmy3wbloreeTJgxpTLbd4a9BNwqw05eTa5gmcjx8hrfZ/QZGyPbH5GnQy 24+Y0g2aal5Vv9ix23CpgTA1gDzI6Spt/vphmP9SQXKduIHqVdjO3zZjXwAim/GK7q0H 4/9fREU3micJv+nmad72zaQjLGjMD4POknoeZNSi9ZZNgX6+8MWQNi6Tz/sXJe3s/n6H kplV5m7qcOH9sFTlSCrC39tYks1iS2g4Q87kretqzqNP4FKmHe/xGIaH9weQTbuXKC/9 MzsWwpN4mwSzuTaQgr/cUW5cclaFhS9mVHyM6KevToqhIBdYS2T14F57oH0i6w8liRrG uBdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cmhlaWbN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id d192-20020a814fc9000000b005a20c61b88asi3864833ywb.127.2023.10.27.14.23.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 14:23:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cmhlaWbN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 24DE38303A39; Fri, 27 Oct 2023 14:23:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232838AbjJ0VXV (ORCPT + 99 others); Fri, 27 Oct 2023 17:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232518AbjJ0VXU (ORCPT ); Fri, 27 Oct 2023 17:23:20 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2CB6129; Fri, 27 Oct 2023 14:23:16 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso2021946a12.3; Fri, 27 Oct 2023 14:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698441796; x=1699046596; 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=Q4Q8nuDM9k/u/LkEVyOR5WiT5bOMm5Q+OB4cIkeRtaU=; b=cmhlaWbN1TGM8ws9BFqH5zPVIf7v18ASDhEzHwt7V41QZxn+4AjnATuM/ebrDhwob6 R76iOK4rJSa82QRaPnrhH2duIPcc/1A0RcX7IKInGXWwYmvOkiMda73BPV76waQILJdL +zqe2/IMTqvIGzQ+vjIzNvS7nIwU/NJlNuSasZ9vvLFVJ2aZ35tGake3DOi0WnAdZ9wE cRNo/20r3aLJEJyoOM0tlcYnNiXwT+hvauEYXz/rAy5xucUMXPjlBOagAXGcWbf5N1MM Wr/Cgl4mFGP8ruSfFOOXaLoatwqVtgPNeUsNdQdD5zMgg3LQRP11c4nzCfhTej6G3+qq x19w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698441796; x=1699046596; 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=Q4Q8nuDM9k/u/LkEVyOR5WiT5bOMm5Q+OB4cIkeRtaU=; b=oGJltj/dtRtw5faMumG1coWGEfUViIj5K5WqDrvuSFdKH4dBp7E9sZugTgWyzy3o2k rqUPDcJJQT4BcWuXL7Lkkdi8QUfAHOAmc1B74AsCOLhpVwYHlLhWZyDiRr1J+MRETnJi 6cY08Zjck/iiAt/imglO/ygcGRZOXJ4AL1ebknDrwrt2f3FJvbS4+Y8EJcR+KkxKqXL1 vjoigxZV5Zck16L4v7pqxdKoPxkbV+ogW+cyvl14mLyrmaZ0SrxgUwOtXIRyuuhnvKUR QWRh7xsJ+6vtkpP0Kac1KMZ58rPVJy0Em0vD1gJSY023sD5YRcjbpLshGJNsfrStQN90 Kz7w== X-Gm-Message-State: AOJu0YxHzgNLTIiXSlvYQ1NOKwM2CNqQsq7+1FCdUpCRjdZ6WP/yhuUU z0gBv2stbWDqh0q4VvlzMtU= X-Received: by 2002:a17:90b:103:b0:27d:9b67:7fa6 with SMTP id p3-20020a17090b010300b0027d9b677fa6mr3543660pjz.3.1698441796212; Fri, 27 Oct 2023 14:23:16 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id p1-20020a17090a0e4100b0027768cd88d7sm5171675pja.1.2023.10.27.14.23.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Oct 2023 14:23:15 -0700 (PDT) Message-ID: <95f324af-88de-4692-966f-588287305e09@gmail.com> Date: Fri, 27 Oct 2023 14:23:13 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dsa: tag_rtl4_a: Bump min packet size Content-Language: en-US To: Linus Walleij , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231027-fix-rtl8366rb-v1-1-d565d905535a@linaro.org> From: Florian Fainelli In-Reply-To: <20231027-fix-rtl8366rb-v1-1-d565d905535a@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 14:23:27 -0700 (PDT) You would want your subject to be: net: dsa: tag_rtl4_a: Bump min packet size On 10/27/23 13:21, Linus Walleij wrote: > It was reported that the "LuCI" web UI was not working properly > with a device using the RTL8366RB switch. Disabling the egress > port tagging code made the switch work again, but this is not > a good solution as we want to be able to direct traffic to a > certain port. > > It turns out that sometimes, but not always, small packets are > dropped by the switch for no reason. And we are positive that the Ethernet MAC is also properly padding frames before having them ingress the switch? > > If we pad the ethernet frames to a minimum of ETH_FRAME_LEN + FCS > (1518 bytes) everything starts working fine. That is quite unprecedented, either the switch is very bogus or there is something else we do not fully understand... -- Florian