Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2437773rdh; Sun, 29 Oct 2023 16:45:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3CjKVhevRcLqz+F27X7mFkQ+l7Tcx1K7Fl0TDyjs29RSaRxOQ33d+IaizqtJ8P5nm3Etz X-Received: by 2002:a17:902:db0f:b0:1c6:25c3:13d3 with SMTP id m15-20020a170902db0f00b001c625c313d3mr11072440plx.6.1698623135689; Sun, 29 Oct 2023 16:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698623135; cv=none; d=google.com; s=arc-20160816; b=dTRfBzZxtuBrnaYE7UGWO58GEY8MupsiFcDj9j+aJb+qkV6TgGR3lw7N8YvtbOlcTh f/3wkgz9bdex8dAXgVhNuyZ2zAhkreGpOratVDE/GyNgbvSKPQAi+yLeu998VYkWVQWu aLWtBrzJW/4K4dJxiNGR4xWxdJ8MhkXLyF/sFp81A8BkAgtat8CwRl0vGxf4jneBwasW p4+Km+e0gKkr9SVCnqrxzUvcikIv8i6p9smWxy7T+Xrjw54INKMT3xbyVvuKSyOG2oyl UA1Fxor7MjO59I60m1jcyCSAJme9qvPjKTs8NWATR7DbG4N65tN363HB5QSPyCpVq99W +CxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KaJzOtJRW4EWZHUOSEMMSs8gJwo3z32RgK/AsKPmB5E=; fh=LRX84a2c2n8A4LqT7NK6Qr2iI1bZnAWsp5Fjjm+Kb6Y=; b=iq9mUm0n7PI0Yj7nRW532v0Kvx+LFBhGQzMDG68kRRiXwBmFijdDa6ezAN4Q0Uzf7k YoA+OGZyvQC/YMzqLm5sELjy6HsslyDTN67msJJVkaGLkB6kd2Qx9gJChnS89twxA3hj psGgJ52uDapp67/+2dyILth46o5boqwH7MSBzP4dtIzajsg404OBdyKgpcriNDhv+rk+ DXbfoorGwKJsw1YWziAnyv961QWa4LHxTz2YKvwtW/ElpZL9v+ao7+UlDL3OcJsO1iEc vloBCGrvZ3zQoUDc2ba4EN5a2pObS3OAWHr2mJ7cgzmirC5rPgPQnjewLV41no7ynScX 5SMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=TcT1Rc44; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id i16-20020a17090332d000b001bb2d95f2a7si1171610plr.267.2023.10.29.16.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 16:45:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=TcT1Rc44; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 48C3E80937AD; Sun, 29 Oct 2023 16:45:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbjJ2Xp1 (ORCPT + 99 others); Sun, 29 Oct 2023 19:45:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjJ2Xp0 (ORCPT ); Sun, 29 Oct 2023 19:45:26 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39DA49E; Sun, 29 Oct 2023 16:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=KaJzOtJRW4EWZHUOSEMMSs8gJwo3z32RgK/AsKPmB5E=; b=TcT1Rc44sOhOTrfiX4DFzUB0QX kiIDhy4VFO7soYj7F2TiwyIJ6KU4+HZboUkTX91Tjan6hFN5K6nsDjIZw+BgsMrbZC0+xayzBzbW9 F/+6SBRckibKw6CF21tMyWjzUjksQgsikBGsO+MgImr3DT1aPvZuY6ZxdTZ60sitTiSM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qxEly-000TGF-Dp; Mon, 30 Oct 2023 00:00:46 +0100 Date: Mon, 30 Oct 2023 00:00:46 +0100 From: Andrew Lunn To: Linus Walleij Cc: Vladimir Oltean , DENG Qingfang , Mauri Sandberg , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dsa: tag_rtl4_a: Bump min packet size Message-ID: <54f8d583-e900-4ce8-87d1-a18556698f10@lunn.ch> References: <20231027-fix-rtl8366rb-v1-1-d565d905535a@linaro.org> <20231028220402.gdsynephzfkpvk4m@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 29 Oct 2023 16:45:33 -0700 (PDT) > 1496 is suspiciously much 1500 - DSA tag size. However the > MTU of the parent ethernet is bumped nicely to 1504 and the > device MTU is set up to accomodate it as well. > > Modifying the patch to just pad out packets >= 1496 bytes > solves the problem in a better way, but maybe that is not the > last thing we try here... Have you tried playing with RTL8366RB_SGCR in rtl8366rb_change_mtu()? I had an annoying bug in the mv88e6xxx driver where the MTU configuration register was up to, but not including... So i had to change a <= to <. Andrew