mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net: switchdev: support static FDB addresses
This patch adds a is_static boolean to the switchdev_obj_fdb structure, in order to set the ndm_state to either NUD_NOARP or NUD_REACHABLE. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1525c386a1
commit
890248261a
2 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@ struct switchdev_obj {
|
|||
struct switchdev_obj_fdb { /* PORT_FDB */
|
||||
u8 addr[ETH_ALEN];
|
||||
u16 vid;
|
||||
bool is_static;
|
||||
} fdb;
|
||||
} u;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue