]> 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)
commit6ac32a85bba0798203f5722012c590007b9c9871
tree0693e4e18bd384afde82787e7fb7cbb442bc9758
parent618e0a6c52822ad1f51658f3310b6a8fddd3a431
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: 225737a81ece ('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