mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 18:30:28 +03:00
[arbel] Inform embedded SMA of partition key changes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user