aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEran Ben Elisha <[email protected]>2018-05-01 16:25:07 +0300
committerSaeed Mahameed <[email protected]>2018-05-24 14:40:39 -0700
commit902a545904c71d719ed144234d67df75f31db63b (patch)
tree8af407ef0c68462fd23a40940b87f03f8084fb40 /tools/perf/util/scripting-engines/trace-event-python.c
parentd546b67cda015fb92bfee93d5dc0ceadb91deaee (diff)
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 <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions