Thread (21 messages) flat view 21 messages, 4 authors, 2026-02-06

Re: [PATCH net] net: renesas: rswitch: fix forwarding offload statemachine

From: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Date: 2026-02-05 13:38:38
Also in: linux-renesas-soc, lkml

quoted
quoted
if (rdev_for_l2_offload() && rdev->forwarding_requested)
      rswitch_change_l2_hw_offloading(rdev, true, false); else
      rswitch_change_l2_hw_offloading(rdev, false, false);

since rswitch_change_l2_hw_offloading() has internal check for the
current state and returns early if the requested change is already applied.
Unfortunately, this has a side effect, e.g., if you pull the cable on tsn0 and the link
goes down, you will see that the offloading is disabled on all ports connected to the
bridge and not just on tsn0.
Quite strange, is anything else logged?  E.g. some messages from linux bridge layer?

Nikita
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help