rocker: use FIB notifications instead of switchdev calls
authorJiri Pirko <jiri@mellanox.com>
Mon, 26 Sep 2016 10:52:32 +0000 (12:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Sep 2016 08:48:00 +0000 (04:48 -0400)
commit936bd486564aa3edb52313aa7c2e7381e0bcaba3
tree0ee8eb6aecafb895e88c727577a2b148045493aa
parentb45f64d16d456fde027a220cc62d6b4cc315f97b
rocker: use FIB notifications instead of switchdev calls

Until now, in order to offload a FIB entry to HW we use switchdev op.
Use the newly introduced FIB notifier infrasturucture to process
FIB entries to offload the in HW.
Abort mechanism is now handled within the rocker driver.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.h
drivers/net/ethernet/rocker/rocker_main.c
drivers/net/ethernet/rocker/rocker_ofdpa.c