]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[infiniband] Require drivers to specify the number of ports
authorChristian Iversen <ci@iversenit.dk>
Tue, 26 Jan 2021 23:43:51 +0000 (00:43 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 27 Jan 2021 01:15:35 +0000 (01:15 +0000)
commitb9de7e6eda04cecaff6735a60c7fe7f488fdccf1
tree5ddb8c4da2964b5b9e2fb2e4ceb154a6d523522c
parent4f9fbe6c16e0d0b8930e2ef9880b9e54c264e685
[infiniband] Require drivers to specify the number of ports

Require drivers to report the total number of Infiniband ports.  This
is necessary to report the correct number of ports on devices with
dynamic port types.

For example, dual-port Mellanox cards configured for (eth, ib) would
be rejected by the subnet manager, because they report using "port 2,
out of 1".

Signed-off-by: Christian Iversen <ci@iversenit.dk>
src/drivers/infiniband/arbel.c
src/drivers/infiniband/flexboot_nodnic.c
src/drivers/infiniband/golan.c
src/drivers/infiniband/hermon.c
src/drivers/infiniband/linda.c
src/drivers/infiniband/qib7322.c
src/include/ipxe/infiniband.h
src/net/infiniband.c
src/net/infiniband/ib_sma.c