[ofa-general] ***SPAM*** [PATCH] libibmad: Add decode support for SwitchInfo OptimizedSLtoVLMappingProgramming

Hal Rosenstock hnrose at comcast.net
Tue Apr 14 06:54:19 PDT 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
Resending due to fat finguring list address

diff --git a/libibmad/include/infiniband/mad.h b/libibmad/include/infiniband/mad.h
index b8290a7..2a1fa30 100644
--- a/libibmad/include/infiniband/mad.h
+++ b/libibmad/include/infiniband/mad.h
@@ -357,6 +357,7 @@ enum MAD_FIELDS {
 	IB_SW_DEF_MCAST_NOT_PRIM_F,
 	IB_SW_LIFE_TIME_F,
 	IB_SW_STATE_CHANGE_F,
+	IB_SW_OPT_SLTOVL_MAPPING_F,
 	IB_SW_LIDS_PER_PORT_F,
 	IB_SW_PARTITION_ENFORCE_CAP_F,
 	IB_SW_PARTITION_ENF_INB_F,
diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index df43ceb..5b0639c 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -198,6 +198,7 @@ static const ib_field_t ib_mad_f[] = {
 	{BITSOFFS(80, 8), "DefMcastNotPrimPort", mad_dump_uint},
 	{BITSOFFS(88, 5), "LifeTime", mad_dump_uint},
 	{BITSOFFS(93, 1), "StateChange", mad_dump_uint},
+	{BITSOFFS(94, 2), "OptSLtoVLMapping", mad_dump_uint},
 	{BITSOFFS(96, 16), "LidsPerPort", mad_dump_uint},
 	{BITSOFFS(112, 16), "PartEnforceCap", mad_dump_uint},
 	{BITSOFFS(128, 1), "InboundPartEnf", mad_dump_uint},



More information about the general mailing list