diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2014-11-09 12:25:39 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-11 18:24:45 (GMT) |
commit | f4a1edd56120249198073aa4a373b77e3700ac8f (patch) | |
tree | f8928981e1473346588d3624e0f1b787705f1a85 /arch/c6x | |
parent | a815286b94875c0428444e036df7e4e1a070bec0 (diff) | |
download | linux-f4a1edd56120249198073aa4a373b77e3700ac8f.tar.xz |
net/mlx4_en: Advertize encapsulation offloads features only when VXLAN tunnel is set
Currenly we only support Large-Send and TX checksum offloads for
encapsulated traffic of type VXLAN. We must make sure to advertize
these offloads up to the stack only when VXLAN tunnel is set.
Failing to do so, would mislead the the networking stack to assume
that the driver can offload the internal TX checksum for GRE packets
and other buggy schemes.
Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions