]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcedb8fcb9d5b7b00da0026b171341121e16b06cc
tree1bd133386437b31d65644d310dd6adf109536336
parenta3454e8dbb4629bd478ea6cbe888e527eb918dc3
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