]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add ndo_udp_tunnel_add to VF representors
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 7 Nov 2016 13:14:47 +0000 (15:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:41:56 +0000 (13:41 -0500)
commit34582112459c2d520aea1aa589271ca1951cbc1a
tree9448721fd36138704aa12158d169d931c66952c9
parentba99ac39693bb33d7b984b20557316a96bf69f43
net/mlx5e: Add ndo_udp_tunnel_add to VF representors

By implementing this ndo, the host stack will set the vxlan udp port
also to VF representor netdevices. This will allow the TC offload code
in the driver when it gets a tunnel key set action to identify the UDP
port as vxlan, and hence the rule will be a candidate for offloading.

Signed-off-by: Hadar Hen Zion <hadarh@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.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c