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:
committed by
David S. Miller
parent
1525c386a1
commit
890248261a
@@ -72,6 +72,7 @@ struct switchdev_obj {
|
||||
struct switchdev_obj_fdb { /* PORT_FDB */
|
||||
u8 addr[ETH_ALEN];
|
||||
u16 vid;
|
||||
bool is_static;
|
||||
} fdb;
|
||||
} u;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user