]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: check rx csum for all packets in LRO session
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Sat, 25 May 2019 09:58:01 +0000 (09:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 May 2019 17:24:14 +0000 (10:24 -0700)
commitfacb3363b80d13b85445b6c94a406d913f0032b2
treef12925d18c9a895474272e1fe9c5f4f3b958d56f
parentc54f36375a71b0e73617793aadb4b4049a7c36e9
net: aquantia: check rx csum for all packets in LRO session

Atlantic hardware does not aggregate nor breaks LRO sessions
with bad csum packets. This means driver should take care of that.

If in LRO session there is a non-first descriptor with invalid
checksum (L2/L3/L4), the driver must account this information
in csum application logic.

Fixes: 87a7223833883 ("net: ethernet: aquantia: Add ring support code")
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ring.c