diff options
author | Ido Shamay <[email protected]> | 2015-06-25 11:29:43 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-06-25 02:06:28 -0700 |
commit | 79a258526ce1051cb9684018c25a89d51ac21be8 (patch) | |
tree | 24da35d42206801da18d45698ff4b65091f69cc8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 488a9b48e398b157703766e2cd91ea45ac6997c5 (diff) |
net/mlx4_en: Fix wrong csum complete report when rxvlan offload is disabled
The check_csum() function relied on hwtstamp_rx_filter to know if rxvlan
offload is disabled. This is wrong since rxvlan offload can be switched
on/off regardless of hwtstamp_rx_filter.
Also moved check_csum to query CQE information to identify VLAN packets
and removed the check of IP packets, since it has been validated before.
Fixes: f8c6455bb04b ('net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE')
Signed-off-by: Ido Shamay <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions