]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c5ddf7171c7cc431433626b915ab73d48bbe8ba
tree0ee8eb6aecafb895e88c727577a2b148045493aa
parent437869c72d0d4bebce33284a7680f19c67e48be1
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