Re: [patch net-next 4/6] mlxsw: spectrum_router: Don't check state when refreshing offload indication

2017-08-02 Thread David Ahern
On 8/2/17 1:56 AM, Jiri Pirko wrote: > From: Ido Schimmel > > Previous patch removed the reliance on the counter in the FIB info to > set the offload indication, so we no longer need to keep an offload > state on each FIB entry and can just set or unset the RTNH_F_OFFLOAD >

[patch net-next 4/6] mlxsw: spectrum_router: Don't check state when refreshing offload indication

2017-08-02 Thread Jiri Pirko
From: Ido Schimmel Previous patch removed the reliance on the counter in the FIB info to set the offload indication, so we no longer need to keep an offload state on each FIB entry and can just set or unset the RTNH_F_OFFLOAD flag in each nexthop. This is also necessary