diff options
author | Rongwei Liu <rongweil@nvidia.com> | 2024-12-19 19:58:32 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 10:34:45 -0800 |
commit | 60d01cc468fdb0fbd6b878d66ef86f7e946b0669 (patch) | |
tree | 99793ef0ae4f5509df0f51c6655c06e9580cf74d /scripts/lib/kdoc/kdoc_parser.py | |
parent | ddbb5ddc43ad000a984149db5af1133433938404 (diff) |
net/mlx5: LAG, Support LAG over Multi-Host NICs
New multi-host NICs provide each host with partial ports,
allowing each host to maintain its unique LAG configuration.
On these multi-host NICs, the 'native_port_num' capability
is no longer continuous on each host and can exceed the
'num_lag_ports' capability. Therefore, it is necessary to
skip the PFs with ldev->pf[i].dev == NULL when querying/modifying
the lag devices' information.
There is no need to check dev.native_port_num against ldev->ports.
Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241219175841.1094544-3-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions