]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use workqueue for vxlan ops
authorMatthew Finlay <matt@mellanox.com>
Sun, 1 May 2016 19:59:57 +0000 (22:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 17:37:26 +0000 (13:37 -0400)
commit6c265fafcb08f90d2ed6a49fc31a673f1f5840c9
tree0693e4e18bd384afde82787e7fb7cbb442bc9758
parent7dfe1495413fa40e84cdbc12a8e6506401dfb8b8
net/mlx5e: Use workqueue for vxlan ops

The vxlan add/delete port NDOs are called under rcu lock.
The current mlx5e implementation can potentially block in these
calls, which is not allowed.  Move to using the mlx5e workqueue
to handle these NDOs.

Fixes: 4956da906c0d ('net/mlx5e: Add netdev support for VXLAN tunneling')
Signed-off-by: Matthew Finlay <matt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/vxlan.c
drivers/net/ethernet/mellanox/mlx5/core/vxlan.h