diff mbox

ibsim/sim_net.c: Set IsClientReregistrationSupport in CA PortInfo:CapabilityMask

Message ID 50996709.7020504@dev.mellanox.co.il (mailing list archive)
State Not Applicable
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock Nov. 6, 2012, 7:37 p.m. UTC
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
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/ibsim/sim_net.c b/ibsim/sim_net.c
index 13c3b8c..142044c 100644
--- a/ibsim/sim_net.c
+++ b/ibsim/sim_net.c
@@ -100,7 +100,7 @@  static const uint8_t swport_down[] = {
 static const uint8_t hcaport[] = {
 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 	0xFE, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x02, 0x00, 0x01, 0x00, 0x50, 0x00, 0x48,
+	0x00, 0x02, 0x00, 0x01, 0x02, 0x50, 0x00, 0x48,
 	0x00, 0x00, 0x0F, 0xF9, 0x01, 0x03, 0x03, 0x02,
 	0x12, 0x52, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
 	0x08, 0x04, 0xFF, 0x10, 0x00, 0x00, 0x00, 0x00,
@@ -111,7 +111,7 @@  static const uint8_t hcaport[] = {
 static const uint8_t hcaport_down[] = {
 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 	0xFE, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x02, 0x00, 0x01, 0x00, 0x10, 0x00, 0x48,
+	0x00, 0x02, 0x00, 0x01, 0x02, 0x10, 0x00, 0x48,
 	0x00, 0x00, 0x0F, 0xF9, 0x01, 0x03, 0x03, 0x01,
 	0x11, 0x22, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
 	0x08, 0x04, 0xE9, 0x10, 0x00, 0x00, 0x00, 0x00,