# Re: \[PATCH v2 net-next 2/6\] net: dsa: propagate flags down towards drivers

- From: Hans Schultz \<hidden\>
- Date: 2023-03-30 15:37:51 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2023/03/2154223
- Thread: https://ratatoskr.run/netdev/2023/03/2138876/t.md

```text
On Thu, Mar 30, 2023 at 18:07, Vladimir Oltean [ref] wrote:
>
> Then, make DSA decide whether to handle the "added_by_user && !is_static"
> combination or not, based on the presence of the DSA_FDB_FLAG_DYNAMIC
> flag, which will be set in ds->supported_fdb_flags only for the mv88e6xxx
> driver.

Okay, so this will require a new function in the DSA layer that sets
which flags are supported and that the driver will call on
initialization.

Where (in the DSA layer) should such a function be placed and what
should it be called?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
