Browse Source

[arbel] Inform embedded SMA of partition key changes

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
a5909384a8
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/drivers/infiniband/arbel.c

+ 5
- 5
src/drivers/infiniband/arbel.c View File

@@ -1786,14 +1786,13 @@ static void arbel_close ( struct ib_device *ibdev ) {
1786 1786
 }
1787 1787
 
1788 1788
 /**
1789
- * Set port information
1789
+ * Inform embedded subnet management agent of a received MAD
1790 1790
  *
1791 1791
  * @v ibdev		Infiniband device
1792
- * @v mad		Set port information MAD
1792
+ * @v mad		MAD
1793 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 1796
 	int rc;
1798 1797
 
1799 1798
 	/* Send the MAD to the embedded SMA */
@@ -1917,7 +1916,8 @@ static struct ib_device_operations arbel_ib_operations = {
1917 1916
 	.close		= arbel_close,
1918 1917
 	.mcast_attach	= arbel_mcast_attach,
1919 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
 /***************************************************************************

Loading…
Cancel
Save