diff options
author | Pavel Belous <pavel.belous@aquantia.com> | 2017-08-28 21:52:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 15:11:43 -0700 |
commit | 0a402e7b9725611069dad4c873d1516f8c805f38 (patch) | |
tree | 99f6447fb4d18b4cfdba3fcd8072bae76ae33ed3 /drivers/net/ethernet/aquantia/atlantic/aq_hw.h | |
parent | net:ethernet:aquantia: Fix for number of RSS queues. (diff) | |
download | linux-dev-0a402e7b9725611069dad4c873d1516f8c805f38.tar.xz linux-dev-0a402e7b9725611069dad4c873d1516f8c805f38.zip |
net:ethernet:aquantia: Workaround for HW checksum bug.
The hardware has the HW Checksum Offload bug when small
TCP patckets (with length <= 60 bytes) has wrong "checksum valid" bit.
The solution is - ignore checksum valid bit for small packets
(with length <= 60 bytes) and mark this as CHECKSUM_NONE to allow
network stack recalculate checksum itself.
Fixes: ccf9a5ed14be ("net: ethernet: aquantia: Atlantic A0 and B0 specific functions.")
Signed-off-by: Pavel Belous <Pavel.Belous@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_hw.h')
0 files changed, 0 insertions, 0 deletions