[infiniband] Split subnet management agent client out into ib_smc.c
authorMichael Brown <mcb30@etherboot.org>
Thu, 6 Nov 2008 22:31:19 +0000 (22:31 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 11 Nov 2008 05:31:07 +0000 (05:31 +0000)
commit663904a7bc4ced3b80d87df125b0e7cf90c1bfc2
tree6bca966f4adc1f5946602e1aa3f5f7bbef46e0b3
parent830e19eb54f4ee2e6629612a3f296fbdba18e531
[infiniband] Split subnet management agent client out into ib_smc.c

Not all Infiniband cards have embedded subnet management agents.
Split out the code that communicates with such an embedded SMA into a
separate ib_smc.c file, and have drivers call ib_smc_update()
explicitly when they suspect that the answers given by the embedded
SMA may have changed.
src/drivers/infiniband/arbel.c
src/drivers/infiniband/hermon.c
src/drivers/infiniband/ib_smc.c [new file with mode: 0644]
src/drivers/net/ipoib.c
src/include/gpxe/ib_mad.h [new file with mode: 0644]
src/include/gpxe/ib_packet.h [new file with mode: 0644]
src/include/gpxe/ib_smc.h [new file with mode: 0644]
src/include/gpxe/infiniband.h
src/net/infiniband.c