]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: fix the validation of rx checksum status from NIC hardware
authorVeerasenareddy Burru <vburru@marvell.com>
Mon, 28 Jan 2019 19:38:31 +0000 (19:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 07:13:37 +0000 (23:13 -0800)
commit46799d800775ad22834049822ced58e5e1207c34
tree0e15fe08a29e723ff458e20ec393fd42363222b2
parentd74e66486c38c1c3dac4a556b12d4358dfb23907
liquidio: fix the validation of rx checksum status from NIC hardware

Fixed the code that was incorrectly interpreting the rx checksum validation
status from hardware, and updating kernel that the packet arrived with
correct checksum though the packet arrived with incorrect checksum and
hardware also indicated checksum is not correct.

Signed-off-by: Veerasenareddy Burru <vburru@marvell.com>
Acked-by: Derek Chickles <dchickles@marvell.com>
Signed-off-by: Felix Manlunas <fmanlunas@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c