mlxsw: core: Add mlxsw specific workqueue and use it for FDB notif. processing
authorJiri Pirko <jiri@mellanox.com>
Thu, 14 Apr 2016 16:19:28 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 20:22:06 +0000 (16:22 -0400)
commitdd9bdb04d2d7c428b0203b5e4e435abc229fa656
tree1bd133386437b31d65644d310dd6adf109536336
parent42a7f1d7747904d89e9831fb85a678add00facf3
mlxsw: core: Add mlxsw specific workqueue and use it for FDB notif. processing

Follow-up patch is going to need to use delayed work as well and
frequently. The FDB notification processing is already using that and
also quite frequently. It makes sense to create separate workqueue just
for mlxsw driver in this case and do not pollute system_wq.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c