summaryrefslogtreecommitdiff
path: root/drivers/net/phy/vitesse.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-11-09 14:25:39 +0200
committerDavid S. Miller <davem@davemloft.net>2014-11-11 13:24:45 -0500
commitf4a1edd56120249198073aa4a373b77e3700ac8f (patch)
treef8928981e1473346588d3624e0f1b787705f1a85 /drivers/net/phy/vitesse.c
parenta815286b94875c0428444e036df7e4e1a070bec0 (diff)
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 'drivers/net/phy/vitesse.c')
0 files changed, 0 insertions, 0 deletions