net: switchdev: support static FDB addresses
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 10 Aug 2015 13:09:52 +0000 (09:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 19:03:19 +0000 (12:03 -0700)
commitce80e7bc57e25062c361de8fb6444129a63bac6d
tree0555225e2a848109dcbe852dc788ef0d2dbb56f9
parent1d1940464e4846912a4f1480648a1571065f1eea
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>
drivers/net/ethernet/rocker/rocker.c
include/net/switchdev.h
net/switchdev/switchdev.c