net: switchdev: support static FDB addresses
This patch adds an ndm_state member to the switchdev_obj_fdb structure, in order to support static FDB addresses. Set Rocker ndm_state to NUD_REACHABLE. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
1d1940464e
commit
ce80e7bc57
@@ -72,6 +72,7 @@ struct switchdev_obj {
|
||||
struct switchdev_obj_fdb { /* PORT_FDB */
|
||||
const unsigned char *addr;
|
||||
u16 vid;
|
||||
u16 ndm_state;
|
||||
} fdb;
|
||||
} u;
|
||||
};
|
||||
|
Reference in New Issue
Block a user