]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[arbel] Inform embedded SMA of partition key changes
authorMichael Brown <mcb30@ipxe.org>
Fri, 17 Sep 2010 02:38:12 +0000 (03:38 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 17 Sep 2010 04:47:34 +0000 (05:47 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/arbel.c

index f8d2c2ea500e5d730ee83b3a7731e50c1d111883..35ad88b3663fd9b3217d62497799e3f0508542f7 100644 (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 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,
 };
 
 /***************************************************************************