Skip to content

Commit a5152b7

Browse files
Daniel KleinAlexMinchiu
authored andcommitted
ibsim/sim_net.c: Enable IsLinkSpeedNDRSupported bit in PortInfo
Change is needed as part of support for NDR speeds in ibsim. Signed-off-by: Daniel Klein <[email protected]>
1 parent 6f90798 commit a5152b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ibsim/sim_net.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static const uint8_t smaport[] = {
8282
0x14, 0x52, 0x00, 0x11, 0x10, 0x40, 0x00, 0x08,
8383
0x08, 0x03, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
8484
0x00, 0x00, 0x01, 0x1F, 0x08, 0x00, 0x00, 0x00,
85-
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
85+
0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x00, 0x00,
8686
};
8787

8888
static const uint8_t swport[] = {
@@ -115,7 +115,7 @@ static const uint8_t hcaport[] = {
115115
0x12, 0x52, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
116116
0x08, 0x04, 0xFF, 0x10, 0x00, 0x00, 0x00, 0x00,
117117
0x00, 0x00, 0x20, 0x1F, 0x00, 0x00, 0x00, 0x00,
118-
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01 /* 0x11 */, 0x01,
118+
0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x01 /* 0x11 */, 0x01,
119119
};
120120

121121
static const uint8_t hcaport_down[] = {
@@ -126,7 +126,7 @@ static const uint8_t hcaport_down[] = {
126126
0x11, 0x22, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
127127
0x08, 0x04, 0xE9, 0x10, 0x00, 0x00, 0x00, 0x00,
128128
0x00, 0x00, 0x20, 0x1F, 0x00, 0x00, 0x00, 0x00,
129-
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01 /* 0x11 */, 0x01,
129+
0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x01 /* 0x11 */, 0x01,
130130
};
131131

132132
static const uint8_t switchinfo[] = {

0 commit comments

Comments
 (0)