diff options
| author | Tushar Dave <[email protected]> | 2017-06-22 09:44:32 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-07-26 03:25:21 -0700 |
| commit | c969ef4ed9cbf3662fc8709e2581427c191504fb (patch) | |
| tree | 5ef1b5a98bfbdcdd6557e5b12f42507eafbfef21 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | eb23039f6c22a6b240aef7d7ebccceeb52a8452a (diff) | |
i40evf: Use le32_to_cpu before evaluating HW desc fields
i40e hardware descriptor fields are in little-endian format. Driver
must use le32_to_cpu while evaluating these fields otherwise on
big-endian arch we end up evaluating incorrect values, cause errors
like:
i40evf 0000:03:0a.0: Expected response 24 from PF, received 402653184
i40evf 0000:03:0a.1: Expected response 7 from PF, received 117440512
Signed-off-by: Tushar Dave <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions