summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2018-05-01 16:25:07 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-05-25 00:40:39 +0300
commit902a545904c71d719ed144234d67df75f31db63b (patch)
tree8af407ef0c68462fd23a40940b87f03f8084fb40 /ipc
parentd546b67cda015fb92bfee93d5dc0ceadb91deaee (diff)
downloadlinux-902a545904c71d719ed144234d67df75f31db63b.tar.xz
net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions