diff options
author | 2025-02-19 13:41:10 +0200 | |
---|---|---|
committer | 2025-02-20 17:36:09 -0800 | |
commit | 64d97f891961a0fa249f6730102cb7c1501f8532 (patch) | |
tree | 474861f17f860177e64eb6527ab5c00eba05fc94 /net/tipc | |
parent | net/mlx5e: Refactor ptys2ethtool_adver_link() (diff) | |
download | wireguard-linux-64d97f891961a0fa249f6730102cb7c1501f8532.tar.xz wireguard-linux-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 <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-4-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions