From patchwork Tue Oct 5 19:47:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 515257 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp2143528imy; Tue, 5 Oct 2021 12:49:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt6+slR36EVPRSzDYzgj5pBPwzgW249eWz/GsTJ2vhDI8I6dW1V6qLOlX/uyFAe3AXL4Hy X-Received: by 2002:a50:999e:: with SMTP id m30mr28611371edb.151.1633463353113; Tue, 05 Oct 2021 12:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633463353; cv=none; d=google.com; s=arc-20160816; b=SaGTQRiuI6j0dJw+deD7oNXVZQvN+WvATAfh9JyLRYd8wnPA42bHNid4YZrJSIewvI u6CIgKQ3QnL7P92mTv0IHwz5hb+uhokG0NqFeMthMOdNJTJ1kAVMxRD2RHX5qbpK0toH Jb2IwM+azhGeuaeoJOuj8I+oBRi+bi1Gq5FJQdYVnnlKk0fVCsa4GJpGwkE/gHlAtlFy ttx/LJ0b1nOLgfb2Huxokk/D7QXV8g9WvDzytMfim8xVg56snlV13bFvq7G8hHsBbqMj RV5NAlYlGFgJ8WtsfjqZRKP+TB6//ztProqQWqRw1maZgmlLYcR7P153jpAbENEJxLRU DJhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cGzFJSD4wITBPw4xkJwRmpTwSKdUaHi5mhd0mZ/upzg=; b=x+du0OkGWZQtarzWrOe29qYM1YbdgDTURfJP3oDnOlOc0NMBDFZjChpzYiaVmWYRph jRE9f2nOwQjBrQ5sBijEeMQu3YyxZ+a7n+942rT4U35vDggWNoGMlUg+3oWkIXLd2dPd CL21w5XJupfSTm/4q8+hPmn4UjLI5G0n21YdCd0pwlYwoacUjQPTq8b+0ihn+k357EMz zYKZs7wUN6JZAjGfVwgrdq5BloC9nWaZhHmuiBK9DRxWSIwiIJ29oeiqAgqRXcqgIxpq Dp4LhScLaWkKqQSCYXeHo18na1lf2zLRoRKXSj6sLupsmvcHnGTWm1ZwfcjPznx9PUy9 RcwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DlLE1dS0; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si760166edi.151.2021.10.05.12.49.12; Tue, 05 Oct 2021 12:49:13 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DlLE1dS0; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235735AbhJETvB (ORCPT + 8 others); Tue, 5 Oct 2021 15:51:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235157AbhJETvA (ORCPT ); Tue, 5 Oct 2021 15:51:00 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 059FEC061749 for ; Tue, 5 Oct 2021 12:49:08 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id r19so512562lfe.10 for ; Tue, 05 Oct 2021 12:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cGzFJSD4wITBPw4xkJwRmpTwSKdUaHi5mhd0mZ/upzg=; b=DlLE1dS0RUtU+ikygQbKAwe4hxDRMdUMNAX24eZnx+3SHw1Mzd2gPJBixc8UBi2dee ZXVGQg29TDRXPgKvX802aXuoH1IY9btaKJTayCr5WYH09uGwPT7W0mTKbjdPz3q2G5kD HfVDhMu1eGIVUN9gsSLkD6iG0EHbg152EgHB/eK3KQQ7BB4EH+e6+FzaxjJ5vhYC3997 sWkD/DXplWez+jEobI9WtcWjlnroO1K0mr9/5tiNX7dCzic6xzHKnqJk+PvdkfWT3DlC LSN4Cyc15RNBGNSGsdWE246P1uxOUxWGNMYvqPnRif3egf5kZ28lKD4iTzg0vHvAvj84 1TMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cGzFJSD4wITBPw4xkJwRmpTwSKdUaHi5mhd0mZ/upzg=; b=WmaLqFa7uq5uXTIS394e95Zwp7QqVYjoDtKsqER86lfLM7LndFQ2F95NT3Ua8qoBDY C7JzgYxT/TfCKNd41N6mXWuzPR4U1v5zVB7/IJKnrySUH+3LQqoZvWa7xFEzvhrFVzT9 LP/M+UF7W+Drs27OMLqeU9xb3sjHkj3la97MZTxYLZOqcR63fKJf6tVCcfvHKX2tvYKi 5DzbttwBj9yKS0C85utS51cRqmCzsaWKZ7XWFhDgQmjf70dg5IS+i5t7ldEDG6SqXpKr Pym7vEd8pa91ddFiqIZFlnYov2I2jojPq+sfcaJyybCQZmlfwV39VhRHjEBRUMGGQ9X3 Adsg== X-Gm-Message-State: AOAM531pqFsq51kMeIku9ZovQ0lHZy/AEBuDlybouh5mwePyWi3OKN7q VSCzEd9/3LoieV75TLha27tlCQ== X-Received: by 2002:a05:6512:684:: with SMTP id t4mr5461049lfe.325.1633463347292; Tue, 05 Oct 2021 12:49:07 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id k28sm2083577ljn.57.2021.10.05.12.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 12:49:06 -0700 (PDT) From: Linus Walleij To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, Linus Walleij Subject: [PATCH net-next 0/3 v5] RTL8366RB enhancements Date: Tue, 5 Oct 2021 21:47:01 +0200 Message-Id: <20211005194704.342329-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch set is a set of reasonably mature improvements for the RTL8366RB switch, implemented after Vladimir challenged me to dig deeper into the switch functions. ChangeLog v4->v5: - Drop dubious flood control patch: these registers probably only deal with rate limiting, we will deal with this another time if we can figure it out. ChangeLog -> v4: - Rebase earlier circulated patches on the now merged VLAN set-up cleanups. Linus Walleij (3): net: dsa: rtl8366rb: Support disabling learning net: dsa: rtl8366rb: Support fast aging net: dsa: rtl8366rb: Support setting STP state drivers/net/dsa/rtl8366rb.c | 112 ++++++++++++++++++++++++++++++++++-- 1 file changed, 106 insertions(+), 6 deletions(-) -- 2.31.1