diff options
author | Michael Chan <[email protected]> | 2019-11-23 22:30:47 -0500 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-11-24 14:48:02 -0800 |
commit | 8119e49b68fa1ec778f9ec8be05b5492046100b2 (patch) | |
tree | ba65ca4fd7343ce4f87836f31bb2a672e24edea0 /scripts/gdb/linux/utils.py | |
parent | 8a60efd1decbaf9ef71d4296b75ff262e653bd34 (diff) |
bnxt_en: Refactor the initialization of the ethtool link settings.
Refactor this logic in bnxt_probe_phy() into a separate function
bnxt_init_ethtool_link_settings(). It used to be that the settable
link settings will never be changed without going through ethtool.
So we only needed to do this once in bnxt_probe_phy(). Now, another
function sharing the port may change it and we may need to re-initialize
the ethtool settings again in run-time.
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions