]> git.baikalelectronics.ru Git - kernel.git/commit
net: switchdev: support static FDB addresses
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 6 Aug 2015 05:44:03 +0000 (01:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Aug 2015 05:48:09 +0000 (22:48 -0700)
commit0d66bbc3f87310c95afe8ddcd8e37579b5ffa97f
treead1b0b6470ceb477b409338402d05da9e216e7af
parent2de5293ac350fde988e51980dfbf690c38b90843
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>
include/net/switchdev.h
net/switchdev/switchdev.c