This is maximum number of pkeys that can be sent in one CTL message. This number is calculated from: SIM_CTL_MAX_DATA/sizeof(uint16_t)
Signed-off-by: Doron Shoham <[email protected]> --- ibsim/sim_net.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ibsim/sim_net.c b/ibsim/sim_net.c index 13c3b8c..6cdd40a 100644 --- a/ibsim/sim_net.c +++ b/ibsim/sim_net.c @@ -121,7 +121,7 @@ static const uint8_t hcaport_down[] = { static const uint8_t switchinfo[] = { 0xC0, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -134,7 +134,7 @@ static const uint8_t swnodeinfo[] = { 0x01, 0x01, 0x02, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0xF1, 0x04, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x08, - 0xF1, 0x04, 0x00, 0x0D, 0x00, 0x08, 0xA8, 0x7C, + 0xF1, 0x04, 0x00, 0x0D, 0x00, 0x20, 0xA8, 0x7C, 0x00, 0x00, 0x00, 0xA1, 0x00, 0x00, 0x08, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -145,7 +145,7 @@ static const uint8_t hcanodeinfo[] = { 0x01, 0x01, 0x01, 0x02, 0x00, 0x02, 0xC9, 0x00, 0x01, 0x13, 0x6E, 0x40, 0x00, 0x02, 0xC9, 0x00, 0x01, 0x13, 0x6E, 0x40, 0x00, 0x02, 0xC9, 0x00, - 0x01, 0x13, 0x6E, 0x41, 0x00, 0x40, 0x5A, 0x44, + 0x01, 0x13, 0x6E, 0x41, 0x00, 0x20, 0x5A, 0x44, 0x00, 0x00, 0x00, 0xA1, 0x01, 0x00, 0x02, 0xC9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 1.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
