All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Michael Dege <michael.dege@renesas.com>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [net-next PATCH v2 00/13] net: renesas: rswitch: R-Car S4 add VLAN aware switching
Date: Fri, 27 Mar 2026 10:36:50 -0700	[thread overview]
Message-ID: <20260327103650.7d483c03@kernel.org> (raw)
In-Reply-To: <20260327-rswitch_add_vlans-v2-0-d7f4358ca57a@renesas.com>

On Fri, 27 Mar 2026 09:27:30 +0100 Michael Dege wrote:
> Hello!
> 
> The current R-Car S4 rswitch driver only supports basic HW offloading
> for L2 switching/bridgeing. This patchset extends the driver with
> support for VLAN aware switching.
> 
> 1. For every port mode change from configuration to operation and
>    vice-versa you need to change to disabled mode first. The
>    functions rswitch_<port>_change_mode now take care of this. 
> 
> 2. In upcomming changes for adding vlan support struct net_device
>    will not be available in all cases, therefore use struct device
>    instead.
> 
> 3. Fix typo in register define macro and remove duplicate macro.
> 
> 4. Add register definitions needed fo vlan support.
> 
> 5. Add exception path for packets with unknown destitination MAC
>    addresses.
> 
> 6. Make the helper functions rswitch_reg_wait(),
>    rswitch_etha_change_mode() and rswitch_etha_change_mode()
>    available to the whole driver.
> 
> 7. Add basic start-up time initialization needed to support VLANs.
> 
> 8. Update ETHA and GWCA port HW initializations.
> 
> 9. Clean up is_rdev() rswitch_device checking.
> 
> 10. Provide struct rswitch_private to notifiers.
> 
> 11. Add handler for FDB notifications to configure bridge MAC address
>     to GWCA registers and update static MAC table entry.
> 
> 12. Add vlan support to L2 HW bridge.

coccicheck reports:

drivers/net/ethernet/renesas/rswitch_main.c:1590:11-66: duplicated argument to & or |
@@ -182,0 +184,3 @@
drivers/net/ethernet/renesas/rswitch_l2.c:350:5-8: WARNING: Unsigned expression compared with zero: err < 0
drivers/net/ethernet/renesas/rswitch_l2.c:380:5-8: WARNING: Unsigned expression compared with zero: err < 0
drivers/net/ethernet/renesas/rswitch_l2.c:465:5-8: WARNING: Unsigned expression compared with zero: err < 0

reminder: please do not post a new version of patches on netdev earlier
than a full 24h after previous posting.

  parent reply	other threads:[~2026-03-27 17:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-27  8:27 [net-next PATCH v2 00/13] net: renesas: rswitch: R-Car S4 add VLAN aware switching Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 01/13] net: renesas: rswitch: improve port change mode functions Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 02/13] net: renesas: rswitch: use device instead of net_device Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 03/13] net: renesas: rswitch: fix FWPC2 register access macros Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 04/13] net: renesas: rswitch: add register definitions for vlan support Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 05/13] net: renesas: rswitch: add exception path for packets with unknown dst MAC Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 06/13] net: renesas: rswitch: add forwarding rules for gwca Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 07/13] net: renesas: rswitch: make helper functions available to whole driver Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 08/13] net: renesas: rswitch: add basic vlan init to rswitch_fwd_init Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 09/13] net: renesas: rswitch: update port HW init Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 10/13] net: renesas: rswitch: clean up is_rdev rswitch_device checking Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 11/13] net: renesas: rswitch: add passing of rswitch_private into notifiers Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 12/13] net: renesas: rswitch: add handler for FDB notification Michael Dege
2026-03-27  8:27 ` [PATCH net-next v2 13/13] net: renesas: rswitch: add vlan aware switching Michael Dege
2026-03-29 20:36   ` kernel test robot
2026-03-31  6:10     ` Michael Dege
2026-03-31  8:11       ` Nicolai Buchwitz
2026-03-31  8:32         ` Michael Dege
2026-03-27 17:36 ` Jakub Kicinski [this message]
2026-03-31  8:04   ` [net-next PATCH v2 00/13] net: renesas: rswitch: R-Car S4 add VLAN " Michael Dege

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260327103650.7d483c03@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=michael.dege@renesas.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=yoshihiro.shimoda.uh@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.