mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
1d1940464e
commit
ce80e7bc57
3 changed files with 3 additions and 1 deletions
|
@ -72,6 +72,7 @@ struct switchdev_obj {
|
|||
struct switchdev_obj_fdb { /* PORT_FDB */
|
||||
const unsigned char *addr;
|
||||
u16 vid;
|
||||
u16 ndm_state;
|
||||
} fdb;
|
||||
} u;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue