The patch fixes a bug in the sminfo tool by adjusting the enumeration to fit the one in Fields.c
Index: D:/Windows/MLNX_VPI_2_1_2/ulp/libibmad/include/infiniband/mad.h
===================================================================
--- D:/Windows/MLNX_VPI_2_1_2/ulp/libibmad/include/infiniband/mad.h
(revision 6303)
+++ D:/Windows/MLNX_VPI_2_1_2/ulp/libibmad/include/infiniband/mad.h
(revision 6304)
@@ -407,7 +407,7 @@
IB_SW_FILTER_RAW_OUTB_F,
IB_SW_ENHANCED_PORT0_F,
IB_SW_MCAST_FDB_TOP_F,
- IB_SW_LAST_F,
+ IB_SW_LAST_F = IB_SW_MCAST_FDB_TOP_F,
/*
* SwitchLinearForwardingTable fields
Example:
The output according to the previous enumeration:
sminfo: sm lid 1 sm guid 0x0, activity count 0 priority 3 state 0 SMINFO_NOTACT
The current output:
sminfo: sm lid 1 sm guid 0x2c903000560de, activity count 11163 priority 0 state
3 SMINFO_MASTER
mad_enum.patch
Description: mad_enum.patch
_______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
