diff options
author | Gal Pressman <[email protected]> | 2022-01-16 09:07:22 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2022-02-01 20:59:39 -0800 |
commit | 4a08a131351e375a2969b98e46df260ed04dcba7 (patch) | |
tree | 224e2e801a156e0a9f9e8f168c0083be36446ad9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a2446bc77a16cefd27de712d28af2396d6287593 (diff) |
net/mlx5e: Fix module EEPROM query
When querying the module EEPROM, there was a misusage of the 'offset'
variable vs the 'query.offset' field.
Fix that by always using 'offset' and assigning its value to
'query.offset' right before the mcia register read call.
While at it, the cross-pages read size adjustment was changed to be more
intuitive.
Fixes: e19b0a3474ab ("net/mlx5: Refactor module EEPROM query")
Reported-by: Wang Yugui <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
Reviewed-by: Maxim Mikityanskiy <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions