rocker: Create an ordered workqueue for FIB offload
authorIdo Schimmel <idosch@mellanox.com>
Sat, 3 Dec 2016 15:45:02 +0000 (16:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2016 00:29:35 +0000 (19:29 -0500)
commitc1bb279cfa9d079bdee35402f5d13210f25f5c80
tree2f234ed7d730ebc0306c9d729dabd4e51bd8796f
parent3057224e014c14921de5ab534d5147eb109fd12b
rocker: Create an ordered workqueue for FIB offload

As explained in the previous commits, we need to process FIB entries
addition / deletion events in FIFO order or otherwise we can have a
mismatch between the kernel's FIB table and the device's.

Create an ordered workqueue for rocker to which these work items will be
submitted to.

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