diff mbox

[infiniband-diags] libibmad/fields.c: PortInfo:McastPkeyTrapSuppressionEnabled is 2 bits in IBA 1.3

Message ID 6e774db9-11d3-8f2f-ab50-d3c661ce102d@dev.mellanox.co.il (mailing list archive)
State Accepted, archived
Delegated to: Ira Weiny
Headers show

Commit Message

Hal Rosenstock Sept. 6, 2017, 11:56 a.m. UTC
Per MgtWG comment #4576

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 libibmad/src/fields.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ira Weiny Sept. 30, 2017, 1:38 a.m. UTC | #1
VGhhbmtzIGFjY2VwdGVkLg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206
IEhhbCBSb3NlbnN0b2NrIFttYWlsdG86aGFsQGRldi5tZWxsYW5veC5jby5pbF0NCj4gU2VudDog
V2VkbmVzZGF5LCBTZXB0ZW1iZXIgMDYsIDIwMTcgNDo1NyBBTQ0KPiBUbzogV2VpbnksIElyYSA8
aXJhLndlaW55QGludGVsLmNvbT4NCj4gQ2M6IGxpbnV4LXJkbWFAdmdlci5rZXJuZWwub3JnDQo+
IFN1YmplY3Q6IFtQQVRDSCBpbmZpbmliYW5kLWRpYWdzXSBsaWJpYm1hZC9maWVsZHMuYzoNCj4g
UG9ydEluZm86TWNhc3RQa2V5VHJhcFN1cHByZXNzaW9uRW5hYmxlZCBpcyAyIGJpdHMgaW4gSUJB
IDEuMw0KPiANCj4gDQo+IFBlciBNZ3RXRyBjb21tZW50ICM0NTc2DQo+IA0KPiBTaWduZWQtb2Zm
LWJ5OiBIYWwgUm9zZW5zdG9jayA8aGFsQG1lbGxhbm94LmNvbT4NCj4gLS0tDQo+ICBsaWJpYm1h
ZC9zcmMvZmllbGRzLmMgfCAyICstDQo+ICAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyks
IDEgZGVsZXRpb24oLSkNCj4gDQo+IGRpZmYgLS1naXQgYS9saWJpYm1hZC9zcmMvZmllbGRzLmMg
Yi9saWJpYm1hZC9zcmMvZmllbGRzLmMgaW5kZXggZTAzMzNmOC4uYmY0ODY4OQ0KPiAxMDA2NDQN
Cj4gLS0tIGEvbGliaWJtYWQvc3JjL2ZpZWxkcy5jDQo+ICsrKyBiL2xpYmlibWFkL3NyYy9maWVs
ZHMuYw0KPiBAQCAtMTYyLDcgKzE2Miw3IEBAIHN0YXRpYyBjb25zdCBpYl9maWVsZF90IGliX21h
ZF9mW10gPSB7DQo+ICAJe0JJVFNPRkZTKDM4NCwgMTYpLCAiUWtleVZpb2xhdGlvbnMiLCBtYWRf
ZHVtcF91aW50fSwNCj4gIAl7QklUU09GRlMoNDAwLCA4KSwgIkd1aWRDYXAiLCBtYWRfZHVtcF91
aW50fSwNCj4gIAl7QklUU09GRlMoNDA4LCAxKSwgIkNsaWVudFJlcmVnaXN0ZXIiLCBtYWRfZHVt
cF91aW50fSwNCj4gLQl7QklUU09GRlMoNDA5LCAxKSwgIk1jYXN0UGtleVRyYXBTdXBwcmVzc2lv
bkVuYWJsZWQiLA0KPiBtYWRfZHVtcF91aW50fSwNCj4gKwl7QklUU09GRlMoNDA5LCAyKSwgIk1j
YXN0UGtleVRyYXBTdXBwcmVzc2lvbkVuYWJsZWQiLA0KPiBtYWRfZHVtcF91aW50fSwNCj4gIAl7
QklUU09GRlMoNDExLCA1KSwgIlN1Ym5ldFRpbWVvdXQiLCBtYWRfZHVtcF91aW50fSwNCj4gIAl7
QklUU09GRlMoNDE5LCA1KSwgIlJlc3BUaW1lVmFsIiwgbWFkX2R1bXBfdWludH0sDQo+ICAJe0JJ
VFNPRkZTKDQyNCwgNCksICJMb2NhbFBoeXNFcnIiLCBtYWRfZHVtcF91aW50fSwNCj4gLS0NCj4g
Mi44LjQNCg0K
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index e0333f8..bf48689 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -162,7 +162,7 @@  static const ib_field_t ib_mad_f[] = {
 	{BITSOFFS(384, 16), "QkeyViolations", mad_dump_uint},
 	{BITSOFFS(400, 8), "GuidCap", mad_dump_uint},
 	{BITSOFFS(408, 1), "ClientReregister", mad_dump_uint},
-	{BITSOFFS(409, 1), "McastPkeyTrapSuppressionEnabled", mad_dump_uint},
+	{BITSOFFS(409, 2), "McastPkeyTrapSuppressionEnabled", mad_dump_uint},
 	{BITSOFFS(411, 5), "SubnetTimeout", mad_dump_uint},
 	{BITSOFFS(419, 5), "RespTimeVal", mad_dump_uint},
 	{BITSOFFS(424, 4), "LocalPhysErr", mad_dump_uint},