Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2783466rdh; Mon, 30 Oct 2023 07:37:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+eVOlsdRz+X4+VLrTySWyBCtZgCSd+UngcvI/yLjhAFTOtnwGcf7nIIYwylQlD3zB1jLa X-Received: by 2002:a05:6a20:1453:b0:17b:1f76:86ee with SMTP id a19-20020a056a20145300b0017b1f7686eemr12494775pzi.16.1698676676502; Mon, 30 Oct 2023 07:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698676676; cv=none; d=google.com; s=arc-20160816; b=to1dvpNEV4CMQ3pUXvuWy1idEgOVBMfmsbWDLEI1kgAOWJLAwPxpvqQ0JnTwWhshTM vW7UEmVBmJEtyCZW5Jpb8GMlAqQEwSP27cFl7D1jcjY3wzEFrzAN9K1klBXF2UYCSnCS PQIUtyOGkFtqZb22VdNjbvjKJ9eXJOMBusGhVNrFinsRJOlmYtO1ZUb2SQL1HFHUAFwY wU43LkkGhYuh7FfiehpCumY/rIP9vOH2vuVoS94y8IjHUb08l/mp77UAf8H7jZb2heE4 8dL4h8bus3CI+Txyjnnd17g2p678AWFRTMlCVcZbJf/V2wzVl0EAQCCQdi9zioigKWU1 INtg== 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=UkvEup63X/NvswoWIpVSdrCM6wW/OjO9ZV/xamvkCgE=; fh=7sTgL4l5IxDwN+qfPjFbkHPyuOk3OK8dEYGTT0NLMv0=; b=f6g2XNFgIKTxiO3GAwao/OKChzc4Ru6lZbfCqtTg1k9N4ON9Re58QA1gHjk5UKoai2 UJrLiFmlA1tr68SB1UT9cfzvbDI9+UDNWEle3o6Q+Wc4J/RoXsv+0kvwTOYcBXcFuZ7Z RKnq+fEEXjdBVyVbim+GMF8b2CZM2g8bG9YiyDpVNnZvBnOdccMhV1B6hJ9z+kEEBDhv EnUJSgzMhvBgj3K+IRuY6A8yf1lgqPOhWIa2KcoLzPguRPmJNFnUMdHtwdqs8j/NG89R 9qBNe0APiS0RWwqgOOXDJEutHUb9JHoeiAz6P5Xb+UaQJjo5qZrKRwNcyU62/t462q3j WufQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g8wSQfDo; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m187-20020a6326c4000000b0057c24bae994si4993175pgm.355.2023.10.30.07.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 07:37:56 -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=@linaro.org header.s=google header.b=g8wSQfDo; 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=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 31EB2805799E; Mon, 30 Oct 2023 07:37:54 -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 S231919AbjJ3Ohk (ORCPT + 99 others); Mon, 30 Oct 2023 10:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjJ3Ohj (ORCPT ); Mon, 30 Oct 2023 10:37:39 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7273AC6 for ; Mon, 30 Oct 2023 07:37:36 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-5a8628e54d4so39788267b3.0 for ; Mon, 30 Oct 2023 07:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698676655; x=1699281455; 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=UkvEup63X/NvswoWIpVSdrCM6wW/OjO9ZV/xamvkCgE=; b=g8wSQfDoEn/fesrGMgwclQNbdryinuQrbbwX/AbZbNj9UTwmk93D51Uq+X0ooNsPab jYx6tvZ4w40xClYZOCR6UG//pI6TBoitNmWPCO9mknHqp4Khf2KPgfUGAdHyEwSlPkvZ rdEbOMeX8jV6X5Bx94sWkjepXd+7QClXxw2DtTwfh2fIlvcwxOZw6Q4Wrc5sbz36CicH mbnVwFx2PYbW6Lp9hjuVfO6TjCLmK6Z8md5pAMOvX0LAwTXYEgVH7CQLezBwe0qvx/R5 uG261wH65dHdNWd2oNY/REefUVpiBdaOnJyiI6ZgghyhHlUm35IWdUiAx9yZZycwj2L9 gZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698676655; x=1699281455; 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=UkvEup63X/NvswoWIpVSdrCM6wW/OjO9ZV/xamvkCgE=; b=Qnig4kMNHlqvm9Uaerp0NYbSbExiwcfR/3pNwjxu9f6/at/2cEbGIoSJjQt+0xJgJJ 7XgCr108oaCAj1hA9FauMmB7TYdlvcqjsPwMxyQOMSNfGRVgylWXrSW3jO4XVkYCWVPO eWsEnK5dIhL141rOVuI1rK/FU1gRx/y1yJkHdQx6ACL0NCnp6oQCbW4nj6ErhRcVI55/ RXHCaL7K7ZB8TkND43zwytb5WegQA2JVvPCjyJixhmFzlXwX/D861dwfllJEMChg+Xvi JKfGZlylseUgnY6t6xgezZ8xuZ6Z6s6ifMrRg3PXzrNfJ3CtErKhFek1m98ZBrx1pl+O kGaw== X-Gm-Message-State: AOJu0Yx23mUOVk7pD2D9xQoZw0u8Ar7rQapLh9jGedjzSJWWWLMezc2X WrINv4IPwvwudbmXEtXollJtNk86FWwvP5CeV9ZH2Q== X-Received: by 2002:a81:b108:0:b0:5a7:fbac:4ffe with SMTP id p8-20020a81b108000000b005a7fbac4ffemr15205506ywh.22.1698676655663; Mon, 30 Oct 2023 07:37:35 -0700 (PDT) MIME-Version: 1.0 References: <20231030-fix-rtl8366rb-v2-1-e66e1ef7dbd2@linaro.org> <20231030141623.ufzhb4ttvxi3ukbj@skbuf> In-Reply-To: <20231030141623.ufzhb4ttvxi3ukbj@skbuf> From: Linus Walleij Date: Mon, 30 Oct 2023 15:37:24 +0100 Message-ID: Subject: Re: [PATCH net v2] net: dsa: tag_rtl4_a: Bump min packet size To: Vladimir Oltean Cc: Andrew Lunn , 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 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]); Mon, 30 Oct 2023 07:37:54 -0700 (PDT) On Mon, Oct 30, 2023 at 3:16=E2=80=AFPM Vladimir Oltean = wrote: > Could you please try to revert the effect of commit 339133f6c318 ("net: > dsa: tag_rtl4_a: Drop bit 9 from egress frames") by setting that bit in > the egress tag again? Who knows, maybe it is the bit which tells the > switch to bypass the forwarding process. I have already tried that, it was one of the first things I tried, just looking over the git log and looking for usual suspects. Sadly it has no effect whatsoever, the problem persists :( > Or maybe there is a bit in a > different position which does this. You could try to fill in all bits in > unknown positions, check that there are no regressions with packet sizes > < 1496, and then see if that made any changes to packet sizes >=3D 1496. > If it did, try to see which bit made the difference. Hehe now we're talking :D I did something similar before, I think just switching a different bit every 10 packets or so and running a persistent ping until it succeeds or not. I'll see what I can come up with. Yours, Linus Walleij