summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorScott Feldman <sfeldma@gmail.com>2015-03-05 21:21:17 -0800
committerDavid S. Miller <davem@davemloft.net>2015-03-06 00:24:58 -0500
commitb5d6fbdeede861b52d67b9a4ea3fdfcc6e6865cd (patch)
tree4185b4fc112a3b988876ece9e4e542ec87e21663 /net/bridge
parent104616e74e0b464d449fdd2ee2f547d2fad71610 (diff)
downloadlinux-b5d6fbdeede861b52d67b9a4ea3fdfcc6e6865cd.tar.bz2
switchdev: implement IPv4 fib ndo wrappers
Flesh out ndo wrappers to call into device driver. To call into device driver, the wrapper must interate over route's nexthops to ensure all nexthop devs belong to the same switch device. Currently, there is no support for route's nexthops spanning offloaded and non-offloaded devices, or spanning ports of multiple offload devices. Since switch device ports may be stacked under virtual interfaces (bonds and/or bridges), and the route's nexthop may be on the virtual interface, the wrapper will traverse the nexthop dev down to the base dev. It's the base dev that's passed to the switchdev driver's ndo ops. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions