fib: introduce FIB info offload flag helpers
authorJiri Pirko <jiri@mellanox.com>
Mon, 26 Sep 2016 10:52:30 +0000 (12:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2016 08:48:00 +0000 (04:48 -0400)
commitc98501879b1b1af90c7325574f2672e9efca592c
treecc6f5e21ae1250962df15dc0e014a85975501c67
parentb90eb754949931b2e4481b1df9a03f84d4be66ba
fib: introduce FIB info offload flag helpers

These helpers are to be used in case someone offloads the FIB entry. The
result is that if the entry is offloaded to at least one device, the
offload flag is set.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/switchdev/switchdev.c