]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add netdev support for VXLAN tunneling
authorMatthew Finlay <matt@mellanox.com>
Mon, 22 Feb 2016 16:17:32 +0000 (18:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Feb 2016 18:50:22 +0000 (13:50 -0500)
commit225737a81ece0df0ee63541e8139e2ad5a8d4669
tree6265d09d2ac74362da42e232dbab52fa432d7fe1
parent1d058ff5f464e883b79f9fef5312e16b33f7fba7
net/mlx5e: Add netdev support for VXLAN tunneling

If a VXLAN udp dport is added to device it will:

   - Configure the hardware to offload the port (up to the max
     supported).
   - Advertise NETIF_F_GSO_UDP_TUNNEL and supported hw_enc_features.

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/Makefile
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/vxlan.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/vxlan.h [new file with mode: 0644]