aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorRongwei Liu <[email protected]>2024-12-19 17:58:32 +0000
committerJakub Kicinski <[email protected]>2024-12-23 18:34:45 +0000
commit60d01cc468fdb0fbd6b878d66ef86f7e946b0669 (patch)
tree99793ef0ae4f5509df0f51c6655c06e9580cf74d /drivers/fpga/xilinx-spi.c
parentnet/mlx5: LAG, Refactor lag logic (diff)
downloadkernel-60d01cc468fdb0fbd6b878d66ef86f7e946b0669.tar.gz
kernel-60d01cc468fdb0fbd6b878d66ef86f7e946b0669.zip
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 <[email protected]> Reviewed-by: Saeed Mahameed <[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 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions