Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp627656rdf; Fri, 3 Nov 2023 10:06:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQB9pdIrZ86WLSMSog97OMT1oR/dHoSNN5wo+YoEBBOaB13ecDYqa+j52K1hou3LcBXUry X-Received: by 2002:a4a:df4c:0:b0:576:bbf6:8a8e with SMTP id j12-20020a4adf4c000000b00576bbf68a8emr1778830oou.2.1699031165602; Fri, 03 Nov 2023 10:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699031165; cv=none; d=google.com; s=arc-20160816; b=hzUi+QxjjXrpD0/OuzYbR/V7OiwG6/olDgj3wsR9VwO/9ZjRSVqsQVAIWJtv7Qn8f1 MbQ+khMFMDnncwgvDKIdwQccsj5IqDJqJk9K0lY5R7TMInVNla/M9JTUL4nUBCmGth6k M9QBdVZ/DiWWmadI5lZQqlJ1ftzfafwBVgZ4f45enKJupakTk4A8NrvnBEPQtC9CgNVN fOh8a9OBXODZqUaAa7+D0bg84y/qCpEM2wQTM1jOaropAUO/9DHs8u9F0TFmA/4QbuUl IKgi91RP8cWj44Ve3DruB4bZJpLbe4wIxzTOFtWgZzfqYJWO1d/zfSpl9B+uEnuEdeGk mAnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ra48a/diU9zU4ICxF1SoHC79GMLCW1QW6hYOR1nW/k8=; fh=1kzwAwQHLVlT1/e6uqViDiC4rw0xPbffbGErTYB9g94=; b=WRwU2CIiDhV74pvhZODfm4kHXdUUYAI2AEp3vH6Lf4JCmpoB+kEjWjtmzUOPKFBAAI b8/fRvXUQCIA2f3oAwUpIT1k1LW90oHIzZSWG4Rf3AdVo7MODZonN1UC6s0tCCAnAipW Fs6pF4AwmmiOGNi471EgDlB5cU7qBFZpnY6pLEv21PE78K9vGs1FYaEVFM3XjZKBa+2l 15WHIKLPr2UWsesJPbLlEww5Lw6NNgJ1hy1KmORCk/UHH+a5SRMsKy6LgF0VBq2kXoa+ ZrHvE8r8LPAbjzFh5Ft/9YlTalUAdxaerBJkRfVNoHUIcYg7f1EHWWPc3yYgT14INwyM CtFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UCKKREoz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t5-20020a9d66c5000000b006b982b215f5si776870otm.258.2023.11.03.10.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 10:06:05 -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=@gmail.com header.s=20230601 header.b=UCKKREoz; 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=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 900D88087234; Fri, 3 Nov 2023 10:05:54 -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 S1376508AbjKCRFc (ORCPT + 99 others); Fri, 3 Nov 2023 13:05:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345483AbjKCRFb (ORCPT ); Fri, 3 Nov 2023 13:05:31 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B71A1BF; Fri, 3 Nov 2023 10:05:28 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5094cb3a036so2456260e87.2; Fri, 03 Nov 2023 10:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699031126; x=1699635926; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ra48a/diU9zU4ICxF1SoHC79GMLCW1QW6hYOR1nW/k8=; b=UCKKREozCId+2rb1w4LEl0RuFDQq7/5c0r51wj2TbmAkv0C+uHtYqbF8aJoZreAI+b Mavbh4vwZS0d7dHw1SWDTxkdJE5K9ATQNWxLS/Y3txLQuXNuQ7Rps786hkkl/GbVKwN+ KXav4Glv6TFo2j5bGzs4k8oz98/VCmsyjX/Lutl7RmDd1LxX+rv3XhHCnbG1BX/IZeJo zR9QUBf50NWYG0HAFFuSAQ3IPavAFGa3oewBYS+drTXVsHUvg5Uz3j5Hby3nbrle1JZo JTeE4+0C0dBKgYZGoKVieGjTWYwn29xrQvWGarQpAnabApKW4Kl8+itxYMa4nn0JsWIM lmLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699031126; x=1699635926; h=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=ra48a/diU9zU4ICxF1SoHC79GMLCW1QW6hYOR1nW/k8=; b=jmZXuLCDw/PrwT/YC5/dD4cyi16RsPbd9AJMmk49+KnQUwQ4wWWYJIr8j2x14xj0SP dvRTJ1s8MCArPOz7XtYrcEn3I4Fs1718VRjAX90gGb+DhsaQPRWHh6Md4UvYXNQZGwTQ QnuT677HKMW034LY5330P2lQdIrdT5Xc49j3nO+d4BLIjNwqlvo/IhxsN36y016Ofkgx QTeuJiWOdFYGRZSRWRvUoz5KOK05u049QQMiyxP4lrUB184IIRSN0IbcQY/AoffFKEE5 nCg7BngSBUGH8YUf0ci0WeZ50CHaFJ7h8Ic6g3BOjQLIer1lY8maIpqil5fFsLTZJe7O rBbw== X-Gm-Message-State: AOJu0YwkOS4sjaaIG6LPJevoioKdwLSSmH7xuUkUJzZcP5qsBKmHHfvD o1EdxxfyOFZP8f8Qa8HOcByuBxhm1cazvdPGCQE= X-Received: by 2002:ac2:4d93:0:b0:507:b074:ecd4 with SMTP id g19-20020ac24d93000000b00507b074ecd4mr16171692lfe.7.1699031125964; Fri, 03 Nov 2023 10:05:25 -0700 (PDT) MIME-Version: 1.0 References: <20231030-fix-rtl8366rb-v2-1-e66e1ef7dbd2@linaro.org> <20231030141623.ufzhb4ttvxi3ukbj@skbuf> <20231030222035.oqos7v7sdq5u6mti@skbuf> <20231030233334.jcd5dnojruo57hfk@skbuf> In-Reply-To: From: Luiz Angelo Daros de Luca Date: Fri, 3 Nov 2023 14:05:14 -0300 Message-ID: Subject: Re: [PATCH net v2] net: dsa: tag_rtl4_a: Bump min packet size To: Linus Walleij Cc: Vladimir Oltean , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:NETWORKING DRIVERS" , open list Content-Type: text/plain; charset="UTF-8" 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 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, 03 Nov 2023 10:05:54 -0700 (PDT) > > [ 3.967086] realtek-smi switch: set MAC: 42:E4:F5:XX:XX:XX > > Unrelated: I have seen other DSA switches "inherit" the MAC of the > conduit interface (BRCM). I wonder if we could do that too instead > of this random MAC number. Usually the conduit interface has a > properly configured MAC. > > > [ 3.976779] realtek-smi switch: missing child interrupt-controller node > > [ 3.983455] realtek-smi switch: no interrupt support > > [ 4.158891] realtek-smi switch: no LED for port 5 > > Are the LEDs working? My device has no LEDs so I have never > tested it, despite I coded it. (Also these days we can actually > support each LED individually configured from device tree using > the LED API, but that would be quite a bit of code, so only some > fun for the aspiring developer...) No at all. LEDs sometimes change state all together but they normally are just kept on. My device is not funny to play with. It has only 32MB of RAM and it frequently OOM. Even flashing a new image requires some sokoban, unloading all possible kernel modules. It is not usable anymore in the real world but I might take a look at LEDs just for fun. The LEDs in the old swconfig driver do work and I can compare the code. > > Maybe the ag71xx driver is doing something differently. > > I'll look at it! > > Thanks a lot Luiz, I'm glad to help. Regards, Luiz