diff options
author | Daniel Borkmann <[email protected]> | 2024-12-10 15:12:41 +0100 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-12-12 11:59:18 +0100 |
commit | d2516c3a53705f783bb6868df0f4a2b977898a71 (patch) | |
tree | 4f73712a88b678ec5d2ed8a148257fe63451576a /drivers/fpga/fpga-mgr.c | |
parent | f8d4bc455047cf3903cd6f85f49978987dbb3027 (diff) |
net, team, bonding: Add netdev_base_features helper
Both bonding and team driver have logic to derive the base feature
flags before iterating over their slave devices to refine the set
via netdev_increment_features().
Add a small helper netdev_base_features() so this can be reused
instead of having it open-coded multiple times.
Signed-off-by: Daniel Borkmann <[email protected]>
Cc: Nikolay Aleksandrov <[email protected]>
Cc: Ido Schimmel <[email protected]>
Cc: Jiri Pirko <[email protected]>
Reviewed-by: Hangbin Liu <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions