Parcourir la source

[arbel] Inform embedded SMA of partition key changes

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown il y a 15 ans
Parent
révision
a5909384a8
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5
    5
      src/drivers/infiniband/arbel.c

+ 5
- 5
src/drivers/infiniband/arbel.c Voir le fichier

1786
 }
1786
 }
1787
 
1787
 
1788
 /**
1788
 /**
1789
- * Set port information
1789
+ * Inform embedded subnet management agent of a received MAD
1790
  *
1790
  *
1791
  * @v ibdev		Infiniband device
1791
  * @v ibdev		Infiniband device
1792
- * @v mad		Set port information MAD
1792
+ * @v mad		MAD
1793
  * @ret rc		Return status code
1793
  * @ret rc		Return status code
1794
  */
1794
  */
1795
-static int arbel_set_port_info ( struct ib_device *ibdev,
1796
-				 union ib_mad *mad ) {
1795
+static int arbel_inform_sma ( struct ib_device *ibdev, union ib_mad *mad ) {
1797
 	int rc;
1796
 	int rc;
1798
 
1797
 
1799
 	/* Send the MAD to the embedded SMA */
1798
 	/* Send the MAD to the embedded SMA */
1917
 	.close		= arbel_close,
1916
 	.close		= arbel_close,
1918
 	.mcast_attach	= arbel_mcast_attach,
1917
 	.mcast_attach	= arbel_mcast_attach,
1919
 	.mcast_detach	= arbel_mcast_detach,
1918
 	.mcast_detach	= arbel_mcast_detach,
1920
-	.set_port_info	= arbel_set_port_info,
1919
+	.set_port_info	= arbel_inform_sma,
1920
+	.set_pkey_table	= arbel_inform_sma,
1921
 };
1921
 };
1922
 
1922
 
1923
 /***************************************************************************
1923
 /***************************************************************************

Chargement…
Annuler
Enregistrer