ipv6: fib: Add offload indication to routes
authorIdo Schimmel <idosch@mellanox.com>
Thu, 3 Aug 2017 11:28:20 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:36:00 +0000 (15:36 -0700)
commit61e4d01e16acddadb9723143637a20417fa67ac9
treef80eda751a6cb6f4010e3fa63d69c29857d171cc
parente1ee0a5ba35d999caef94d659b4cb842e63aeb68
ipv6: fib: Add offload indication to routes

Allow user space applications to see which routes are offloaded and
which aren't by setting the RTNH_F_OFFLOAD flag when dumping them.

To be consistent with IPv4, offload indication is provided on a
per-nexthop basis.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ipv6_route.h
net/ipv6/route.c