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)
commitd8cf2dda3de6e6293fb01539fb4e180a7ab42afd
tree0693e4e18bd384afde82787e7fb7cbb442bc9758
parent7bb2975599210097115021e542b6137781a09588
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: b3f63c3d5e2c ('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