Skip to content

Commit

Permalink
ibsim/sim_net.c: Enable IsLinkSpeedNDRSupported bit in PortInfo
Browse files Browse the repository at this point in the history
Change is needed as part of support for NDR speeds in ibsim.

Signed-off-by: Daniel Klein <[email protected]>
  • Loading branch information
Daniel Klein authored and AlexMinchiu committed Oct 31, 2022
1 parent 6f90798 commit a5152b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ibsim/sim_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static const uint8_t smaport[] = {
0x14, 0x52, 0x00, 0x11, 0x10, 0x40, 0x00, 0x08,
0x08, 0x03, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x01, 0x1F, 0x08, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x00, 0x00,
};

static const uint8_t swport[] = {
Expand Down Expand Up @@ -115,7 +115,7 @@ static const uint8_t hcaport[] = {
0x12, 0x52, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
0x08, 0x04, 0xFF, 0x10, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x20, 0x1F, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01 /* 0x11 */, 0x01,
0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x01 /* 0x11 */, 0x01,
};

static const uint8_t hcaport_down[] = {
Expand All @@ -126,7 +126,7 @@ static const uint8_t hcaport_down[] = {
0x11, 0x22, 0x00, 0x11, 0x40, 0x40, 0x00, 0x08,
0x08, 0x04, 0xE9, 0x10, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x20, 0x1F, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x01 /* 0x11 */, 0x01,
0x00, 0x00, 0x00, 0x00, 0x04, 0x30, 0x01 /* 0x11 */, 0x01,
};

static const uint8_t switchinfo[] = {
Expand Down

0 comments on commit a5152b7

Please sign in to comment.