summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2018-05-01 16:25:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-11 22:49:22 +0200
commit2b8b2b26c378398d003a8833fe9177af9247cfef (patch)
tree81c8c6d978a320862b90d15ed59cc666efa8b0cf /drivers/net/virtio_net.c
parent155cd575588bca1ef1dd77e37386a737f4c0153e (diff)
net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
[ Upstream commit 902a545904c71d719ed144234d67df75f31db63b ] When RXFCS feature is enabled, the HW do not strip the FCS data, however it is not present in the checksum calculated by the HW. Fix that by manually calculating the FCS checksum and adding it to the SKB checksum field. Add helper function to find the FCS data for all SKB forms (linear, one fragment or more). Fixes: 102722fc6832 ("net/mlx5e: Add support for RXFCS feature flag") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions