diff options
author | Jesse Brandeburg <[email protected]> | 2021-03-25 17:38:28 -0700 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-05-26 09:11:41 -0700 |
commit | c7cbfb028b95360403d579c47aaaeef1ff140964 (patch) | |
tree | 031e6fe0d24cf4546281008a3817e66e50f3c074 /tools/perf/scripts/python/stackcollapse.py | |
parent | 88c228b22e001cce1d36112b883bd320c0893ef8 (diff) |
igb: handle vlan types with checker enabled
The sparse build (C=2) finds some issues with how the driver
dealt with the (very difficult) hardware that in some generations
uses little-endian, and in others uses big endian, for the VLAN
field. The code as written picks __le16 as a type and for some
hardware revisions we override it to __be16 as done in this
patch. This impacted the VF driver as well so fix it there too.
Also change the vlan_tci assignment to override the sparse
warning without changing functionality.
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Dave Switzer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions