[ofa-general] ***SPAM*** [PATCHv2] ibsim/sim_net.c: Eliminate IsLEDInfoSupported PortInfo CapabilityMask bit

Hal Rosenstock hnrose at comcast.net
Tue Mar 3 08:48:06 PST 2009


rather than implement LEDInfo attribute support in the simulator

Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>

---
diff --git a/ibsim/sim_net.c b/ibsim/sim_net.c
index fa05c35..aa91103 100644
--- a/ibsim/sim_net.c
+++ b/ibsim/sim_net.c
@@ -67,7 +67,7 @@ Port *default_port;
 static const uint8_t smaport[] = {
 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 	0xFE, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x02, 0x48,
+	0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x48,
 	0x00, 0x00, 0x0F, 0xF9, 0x00, 0x03, 0x03, 0x01,
 	0x14, 0x52, 0x00, 0x11, 0x10, 0x40, 0x00, 0x08,
 	0x08, 0x03, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
@@ -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, 0x02, 0x48,
+	0x00, 0x02, 0x00, 0x01, 0x00, 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, 0x02, 0x48,
+	0x00, 0x02, 0x00, 0x01, 0x00, 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,



More information about the general mailing list