diff options
| author | Shahar Shitrit <[email protected]> | 2025-02-19 11:41:12 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-21 01:36:09 +0000 |
| commit | 9c362aafda8b9920568f9e7dbd5c904b34fe38bb (patch) | |
| tree | cdd83ee90655fa944144abcd58e98c2ae04cfc31 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | net/mlx5e: Change eth_proto parameter naming (diff) | |
| download | kernel-9c362aafda8b9920568f9e7dbd5c904b34fe38bb.tar.gz kernel-9c362aafda8b9920568f9e7dbd5c904b34fe38bb.zip | |
net/mlx5e: Separate extended link modes request from link modes type selection
The function ext_requested() serves two distinct purposes: it checks
if extended link modes were requested, and it selects whether to use
extended or legacy link modes.
This change separates these two purposes. Now, ext_link_mode_requested()
is used directly for checking if extended link modes are requested,
while the selection of extended modes is handled independently based on
the autonegotiation status.
By making this distinction, the logic for determining whether to select
extended or legacy link modes is clearer.
Signed-off-by: Shahar Shitrit <[email protected]>
Reviewed-by: Carolina Jubran <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
