aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorShahar Shitrit <[email protected]>2025-02-19 11:41:10 +0000
committerJakub Kicinski <[email protected]>2025-02-21 01:36:09 +0000
commit64d97f891961a0fa249f6730102cb7c1501f8532 (patch)
tree474861f17f860177e64eb6527ab5c00eba05fc94 /tools/testing/selftests/net/lib/py/utils.py
parentnet/mlx5e: Refactor ptys2ethtool_adver_link() (diff)
downloadkernel-64d97f891961a0fa249f6730102cb7c1501f8532.tar.gz
kernel-64d97f891961a0fa249f6730102cb7c1501f8532.zip
net/mlx5e: Introduce ptys2ethtool_process_link()
The functions ptys2ethtool_supported_link(), ptys2ethtool_adver_link() share the same code, thus, in order to remove code duplication we introduce a new function ptys2ethtool_process_link() to handle the processing of both supported and advertised link modes. 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