]> 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)
commitacc05db313e8cf0c3ff2fbe65f04627d3678af8e
tree1bd133386437b31d65644d310dd6adf109536336
parent90217429f33fc9aa04f3e0d922dba2cf574be2d1
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