OSDN Git Service

rocker: Provide offload indication using nexthop flags
authorIdo Schimmel <idosch@mellanox.com>
Wed, 2 Aug 2017 07:56:02 +0000 (09:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 00:00:23 +0000 (17:00 -0700)
commit63e701c15c98741fc8df50eb0315991e6d8040dc
treeeac4595d9620d2ab75ba2273f1067b64193f8e6c
parent475abbf1ef67fdf35eed0720adcf59ed25ad924e
rocker: Provide offload indication using nexthop flags

We want to stop using the FIB info's flags to provide the offlaod
indication and instead do that on a per-nexthop basis.

Convert rocker to do just that. It only supports one nexthop per-route,
so conversion is simple.

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>
drivers/net/ethernet/rocker/rocker_ofdpa.c