mlxsw: spectrum: Convert ndo_setup_tc offloads to block callbacks
authorJiri Pirko <jiri@mellanox.com>
Thu, 19 Oct 2017 13:50:37 +0000 (15:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 02:04:07 +0000 (03:04 +0100)
commiteb49cfaa6bfc164e53db72cde0058ef4768e05a8
tree036cbf6fa28f134f88f68b79c5d5c44624aaf925
parent3f7889c4c79b0afc012026431d4db4bad4e84473
mlxsw: spectrum: Convert ndo_setup_tc offloads to block callbacks

Benefit from the newly introduced block callback infrastructure and
convert ndo_setup_tc calls for matchall and flower offloads to block
callbacks.

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