diff options
author | Michael Chan <[email protected]> | 2019-10-21 01:34:26 -0400 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-10-22 13:15:39 -0700 |
commit | 83a46a82b96c1928ad82958752523fb0c7d9fcce (patch) | |
tree | e362782c6b91e4cb6ebff7dba534dfcf8af2a203 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c329230ce886f449a6e559b636096b75ab00d18a (diff) |
bnxt_en: Fix devlink NVRAM related byte order related issues.
The current code does not do endian swapping between the devlink
parameter and the internal NVRAM representation. Define a union to
represent the little endian NVRAM data and add 2 helper functions to
copy to and from the NVRAM data with the proper byte swapping.
Fixes: 782a624d00fa ("bnxt_en: Add bnxt_en initial port params table and register it")
Cc: Jiri Pirko <[email protected]>
Reviewed-by: Vasundhara Volam <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions