Re: [RFC PATCH net-next 2/5] net: dsa: propagate flags down towards drivers

From
<hidden>
Date
2023-01-22 11:08:51
Also in
bridge, linux-arm-kernel, linux-mediatek, linux-renesas-soc, lkml
Reply to
Vladimir Oltean, 2023-01-18
On 2023-01-19 00:01, Vladimir Oltean wrote:
On Wed, Jan 18, 2023 at 11:35:08PM +0100, netdev@kapio-technology.com wrote:
quoted
When the new dynamic flag is true, all drivers will ignore it in patch #3,
so basically nothing will change by that.
This is not true, because it assumes that DSA never called port_fdb_add()
up until now for bridge FDB entries with the BR_FDB_STATIC flag unset,
which is incorrect (it did).

So what will change is that drivers which used to react to those bridge
FDB entries will stop doing so.
So the solution to this problem could be to only set the is_dyn flag in combination with the added_by_user flag. So an 'and' operation with the two in br_switchdev_fdb_populate()?
Thread (15 messages) 15 messages, 2 authors, last reply 2023-01-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help