On 9/21/16 5:53 AM, Jiri Pirko wrote: > From: Jiri Pirko <j...@mellanox.com> > > Until now, in order to offload a FIB entry to HW we use switchdev op. > However that has limits. Mainly in case we need to make the HW aware of > all route prefixes configured in kernel. HW needs to know those in order > to properly trap appropriate packets and pass the to kernel to do > the forwarding. Abort mechanism is now handled within the mlxsw driver. > > Signed-off-by: Jiri Pirko <j...@mellanox.com> > --- > drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 9 +- > .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 386 > ++++++++++++--------- > .../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 9 - > 3 files changed, 216 insertions(+), 188 deletions(-) > >
Make the move to fib notifiers and the removal of switchdev code separate patches. It will make the fib notifier change easier to follow.