Files
twx-linux/drivers/net/ethernet
Eran Ben Elisha 2b8b2b26c3 net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
[ Upstream commit 902a545904 ]

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: 102722fc68 ("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>
2018-06-11 22:49:22 +02:00
..
…
2018-06-11 22:49:18 +02:00
2018-06-11 22:49:18 +02:00
2018-04-12 12:32:18 +02:00
…
…
…
…
2018-05-19 10:20:25 +02:00
…
…
…
…
…
2017-11-24 08:37:03 +01:00
…
…
…
…