summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorShahar Shitrit <shshitrit@nvidia.com>2025-02-19 13:41:12 +0200
committerJakub Kicinski <kuba@kernel.org>2025-02-20 17:36:09 -0800
commit9c362aafda8b9920568f9e7dbd5c904b34fe38bb (patch)
treecdd83ee90655fa944144abcd58e98c2ae04cfc31 /tools/testing/selftests/net/lib/py/utils.py
parent9ca3bf013a0ef885fcafd71f68c4abf40cf8b123 (diff)
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 <shshitrit@nvidia.com> Reviewed-by: Carolina Jubran <cjubran@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20250219114112.403808-6-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions