diff options
| author | Edwin Peer <[email protected]> | 2020-09-27 13:42:11 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-27 13:35:45 -0700 |
| commit | c916062a8917463a469539eccee50d31e63c91c1 (patch) | |
| tree | 5ba247aefcf6887922247a8acbb0119337aec7f6 /tools/perf/scripts/python | |
| parent | 9d6b648c3112012dac6d804d331cdd3a2247765c (diff) | |
bnxt_en: refactor code to limit speed advertising
Extract the code for determining an advertised speed is no longer
supported into a separate function. This will avoid some code
duplication in a later patch when supporting PAM4 speeds, since
these speeds are specified in a separate field.
Reviewed-by: Scott Branden <[email protected]>
Signed-off-by: Edwin Peer <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions