diff options
author | 2020-09-27 13:42:11 -0400 | |
---|---|---|
committer | 2020-09-27 13:35:45 -0700 | |
commit | c916062a8917463a469539eccee50d31e63c91c1 (patch) | |
tree | 5ba247aefcf6887922247a8acbb0119337aec7f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bnxt_en: Update firmware interface spec to 1.10.1.65. (diff) | |
download | wireguard-linux-c916062a8917463a469539eccee50d31e63c91c1.tar.xz wireguard-linux-c916062a8917463a469539eccee50d31e63c91c1.zip |
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 <scott.branden@broadcom.com>
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions