]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
be2net: Fix offload features for Q-in-Q packets
authorVlad Yasevich <vyasevich@gmail.com>
Tue, 23 May 2017 17:38:42 +0000 (13:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 May 2017 20:27:14 +0000 (16:27 -0400)
commitcc6e9de62a7f84c9293a2ea41bc412b55bb46e85
tree4a7e7981a5bb3160aa184d3e2273e1969060d657
parent35d2f80b07bbe03fb358afb0bdeff7437a7d67ff
be2net: Fix offload features for Q-in-Q packets

At least some of the be2net cards do not seem to be capabled
of performing checksum offload computions on Q-in-Q packets.
In these case, the recevied checksum on the remote is invalid
and TCP syn packets are dropped.

This patch adds a call to check disbled acceleration features
on Q-in-Q tagged traffic.

CC: Sathya Perla <sathya.perla@broadcom.com>
CC: Ajit Khaparde <ajit.khaparde@broadcom.com>
CC: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
CC: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c