david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[arbel] Inform embedded SMA of partition key changes

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-09-17 03:38:12 +01:00
parent 767e27e06b
commit a5909384a8
1 changed files with 5 additions and 5 deletions

View File

@ -1786,14 +1786,13 @@ static void arbel_close ( struct ib_device *ibdev ) {
} }
/** /**
* Set port information * Inform embedded subnet management agent of a received MAD
* *
* @v ibdev Infiniband device * @v ibdev Infiniband device
* @v mad Set port information MAD * @v mad MAD
* @ret rc Return status code * @ret rc Return status code
*/ */
static int arbel_set_port_info ( struct ib_device *ibdev, static int arbel_inform_sma ( struct ib_device *ibdev, union ib_mad *mad ) {
union ib_mad *mad ) {
int rc; int rc;
/* Send the MAD to the embedded SMA */ /* Send the MAD to the embedded SMA */
@ -1917,7 +1916,8 @@ static struct ib_device_operations arbel_ib_operations = {
.close = arbel_close, .close = arbel_close,
.mcast_attach = arbel_mcast_attach, .mcast_attach = arbel_mcast_attach,
.mcast_detach = arbel_mcast_detach, .mcast_detach = arbel_mcast_detach,
.set_port_info = arbel_set_port_info, .set_port_info = arbel_inform_sma,
.set_pkey_table = arbel_inform_sma,
}; };
/*************************************************************************** /***************************************************************************