aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-09-17 03:38:12 +0100
committerMichael Brown <mcb30@ipxe.org>2010-09-17 05:47:34 +0100
commita5909384a8e1ffbdd60a348f04d381f46c0383c0 (patch)
tree0b5128598fa074073a49087fc4df952864160e95 /src/drivers/infiniband
parent767e27e06b9828bb2da41e316b01aa4b0ab6ebec (diff)
downloadipxe-a5909384a8e1ffbdd60a348f04d381f46c0383c0.tar.gz
[arbel] Inform embedded SMA of partition key changes
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband')
-rw-r--r--src/drivers/infiniband/arbel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/drivers/infiniband/arbel.c b/src/drivers/infiniband/arbel.c
index f8d2c2ea..35ad88b3 100644
--- a/src/drivers/infiniband/arbel.c
+++ b/src/drivers/infiniband/arbel.c
@@ -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 mad Set port information MAD
+ * @v mad MAD
* @ret rc Return status code
*/
-static int arbel_set_port_info ( struct ib_device *ibdev,
- union ib_mad *mad ) {
+static int arbel_inform_sma ( struct ib_device *ibdev, union ib_mad *mad ) {
int rc;
/* Send the MAD to the embedded SMA */
@@ -1917,7 +1916,8 @@ static struct ib_device_operations arbel_ib_operations = {
.close = arbel_close,
.mcast_attach = arbel_mcast_attach,
.mcast_detach = arbel_mcast_detach,
- .set_port_info = arbel_set_port_info,
+ .set_port_info = arbel_inform_sma,
+ .set_pkey_table = arbel_inform_sma,
};
/***************************************************************************