summary refs log tree commit diff
path: root/drivers/net/ethernet/mellanox/mlx4/mcg.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-10-30 15:59:27 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-30 19:48:58 -0400
commita4f2dacbf2a5045e34b98a35d9a3857800f25a7b (patch)
tree9b9d12f9909fe1b67a785e34943f97d3f482ae16 /drivers/net/ethernet/mellanox/mlx4/mcg.c
parent9cc233fb0f94b79d07cf141a625e237769d267a1 (diff)
downloadlinux-a4f2dacbf2a5045e34b98a35d9a3857800f25a7b.tar.gz
net/mlx4_en: Don't attempt to TX offload the outer UDP checksum for VXLAN
For VXLAN/NVGRE encapsulation, the current HW doesn't support offloading
both the outer UDP TX checksum and the inner TCP/UDP TX checksum.

The driver doesn't advertize SKB_GSO_UDP_TUNNEL_CSUM, however we are wrongly
telling the HW to offload the outer UDP checksum for encapsulated packets,
fix that.

Fixes: 837052d0ccc5 ('net/mlx4_en: Add netdev support for TCP/IP
		     offloads of vxlan tunneling')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mcg.c')
0 files changed, 0 insertions, 0 deletions