Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2569356rdh; Mon, 30 Oct 2023 00:40:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqhFVrxefkm3Gqt4hnJf1wlMLA8+Maph9nKok6p8kGD0+1wJftYOeql9+qHbe0aWe9TrD+ X-Received: by 2002:a17:902:ec83:b0:1cc:467a:338f with SMTP id x3-20020a170902ec8300b001cc467a338fmr3770139plg.4.1698651599671; Mon, 30 Oct 2023 00:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698651599; cv=none; d=google.com; s=arc-20160816; b=ZbhHo+tBFjftuIo4iGxxyGzEEycikiFVEhxLdZ2DvLtKOE7PMfYg4BG4yDOZ6+9Lew uYeEb8E+Sh6KHjeyVlyaZ2fRSJiZ1MP9Mxl/quOVWFKb4zNoVet7VlDkT6qPPJuDQmWD Slw3DriGeO6odcyhCsGDgVsFEh6QguMjnk62t+lN7109KVUU4ZcGEy/Yga4Bn6IY5Jwa hQzlzZ/memhL1BxNW68hyAVspvvsnEN5x1/m7mfvGUmEZjwVsjg3GHY8qf63bhrgb5DN tU3EmwCfHDG2tof2gV5ReQcqND/F7/bx0CqkqP7D6BVeo6cU99knkQKkHAs33iROfKQ0 3NDw== 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=a2xzc+4V3pjtNNji+lt7+KZcsYsbe7/AwgknDeXfupc=; fh=6RnabhHuchk88TAW3mYiTzA672UAQdiVqTCi9kC+eMY=; b=QgWx/m3C03gCH+8M2KGU3+9DuJN6DWQ2bs+mp4N27sw3upQUcjWYE0Mkk3tZ5g5lDm hhP0MJ5C8IgAoMx24b86qjtWhDbUrLHvd1VeIpmo7VGGpQFuUnNPZSx7lmlfJETUdtIM MM/Kxg4B0DVEzP8BdnNuKeZMj4ILC+yrOfJSpNbQFWswoXEKiMKz3F3SF8LFfDgP16ho LoJRJdlGnAbnLaptZ0hkwifrqWxdWc+QmxnvNv9huL0VEfLH/sDXngp3isvz0oqzZzCV VInD/IDG56eKUnZ7XokyHh+NwR61wClvKptnIDeZx1qJgICJQduTavmL4llqUxuvdGrg RfSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZp7Ftxp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x1-20020a17090300c100b001cc4a373875si1259548plc.459.2023.10.30.00.39.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 00:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZp7Ftxp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 6E8B580613B6; Mon, 30 Oct 2023 00:39:57 -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 S231945AbjJ3Hjt (ORCPT + 99 others); Mon, 30 Oct 2023 03:39:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231694AbjJ3Hjr (ORCPT ); Mon, 30 Oct 2023 03:39:47 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EAE0D9 for ; Mon, 30 Oct 2023 00:39:45 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-d9a6399cf78so3560672276.0 for ; Mon, 30 Oct 2023 00:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698651584; x=1699256384; 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=a2xzc+4V3pjtNNji+lt7+KZcsYsbe7/AwgknDeXfupc=; b=aZp7Ftxp2VsEE7ZvbwEelk8uUN4tbWHeU8PWkmlPO7lFgVyut2VFSjDAE/Mbbl88AV kAlWjgCXKPxIunYabPbfpol3vfPSvYhX+Xzo3J50TRZdeQ1HroOtQ32DcECZ5TZgmQ2o 8/6UJaASQPEB0TCDi7nkRTA1HleITA0pWtV9Ehu1ILIlinERGC8bv+o9pYBrq2VY6GWV AbVA6WknWIJ7MQjMVtocg6JIpxWPWNOuSPUMTBFHRGcscbPWvjkno8pxvQhXPKEUW4ow pAtiIiZr3RSjfax0vO9hQEGdanbHa/Bfh2HkP19v8l8qj7mQmLGTdTua6rlVT14WA1fl 0FeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698651584; x=1699256384; 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=a2xzc+4V3pjtNNji+lt7+KZcsYsbe7/AwgknDeXfupc=; b=bNKuS+on3wIUICS8Q2/8eOeDkqh1dnWvl+I2ITco4scUDk/oyWlIP9uEtvgZB0v5nR lJBPyX28rinSQABLrjZZyyEcymOA1sc0eGClVEsiA6DCOF8ay7r9wlEc6dbYnHRyl41Q FgrDp83I1Alek/Ln6Is+j3/6v+y5N9p2ZpNUIv4ZKfnN+bTuT1UHposssBWUzubsB8XT kkzcf5ya5/5sMMJ8w4Phn9qNMJwm1TyiRRKw+x/pcj0wcTLDY5+vDzFgSF9HLowWtWhh QdWo+yuF3mTZJiE8wn2KddrJfbzsGsGjyY9SQLk0RTL/o5WwPVdMciW9POHGrnce0M3C TaOA== X-Gm-Message-State: AOJu0YxQmE2yFit27n7l6IP8LG15lZq/cuMIA+ubXeaYYCuJ3Jf4Wgjj fkh0ZuIln+A/+UApaBbDTn7e42wOAY8kXLqvTjVzWyqUvwBGmq0D X-Received: by 2002:a25:4246:0:b0:d9c:28cb:2e54 with SMTP id p67-20020a254246000000b00d9c28cb2e54mr17328230yba.18.1698651584308; Mon, 30 Oct 2023 00:39:44 -0700 (PDT) MIME-Version: 1.0 References: <20231027-fix-rtl8366rb-v1-1-d565d905535a@linaro.org> <20231028220402.gdsynephzfkpvk4m@skbuf> <54f8d583-e900-4ce8-87d1-a18556698f10@lunn.ch> In-Reply-To: <54f8d583-e900-4ce8-87d1-a18556698f10@lunn.ch> From: Linus Walleij Date: Mon, 30 Oct 2023 08:39:26 +0100 Message-ID: Subject: Re: [PATCH] dsa: tag_rtl4_a: Bump min packet size To: Andrew Lunn 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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]); Mon, 30 Oct 2023 00:39:57 -0700 (PDT) On Mon, Oct 30, 2023 at 12:00=E2=80=AFAM Andrew Lunn wrote= : > > 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 >=3D 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()? Yes I set the MTU to increasingly larger sizes. Sadly MTU has nothing to do with this, it's really annoying, I have a v2 patch that is better and working, I'll include some test text so you see where the problem is. Yours, Linus Walleij