diff options
author | Michael Chan <[email protected]> | 2023-10-20 14:27:55 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-22 11:41:46 +0100 |
commit | 5802e30317d94e77228db960c4786c40124b61e0 (patch) | |
tree | 8b3ca21a669bc1a6519dd4dc6a30da0ae695aeb9 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 94c89e73d377a5ce34129f8211849879bb594120 (diff) |
bnxt_en: Refactor NRZ/PAM4 link speed related logic
Refactor some NRZ/PAM4 link speed related logic into helper functions.
The NRZ and PAM4 link parameters are stored in separate structure fields.
The driver logic has to check whether it is in NRZ or PAM4 mode and
then use the appropriate field.
Refactor this logic into helper functions for better readability.
Reviewed-by: Damodharam Ammepalli <[email protected]>
Reviewed-by: Ajit Khaparde <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions