Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions src/perftest_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -2358,13 +2358,37 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
}
} else if (attr.vendor_id == 0x1f0f) {
switch (attr.vendor_part_id) {
case 0x340b : dev_fname = NBL_LEONIS; break; /* leonis snic v3r1 pf */
case 0x3403 : dev_fname = NBL_LEONIS; break; /* leonis snic v3r1 pf */
case 0x3404 : dev_fname = NBL_LEONIS; break;
case 0x3405 : dev_fname = NBL_LEONIS; break;
case 0x3406 : dev_fname = NBL_LEONIS; break;
case 0x3407 : dev_fname = NBL_LEONIS; break;
case 0x3408 : dev_fname = NBL_LEONIS; break;
case 0x3409 : dev_fname = NBL_LEONIS; break;
case 0x340A : dev_fname = NBL_LEONIS; break;
case 0x340B : dev_fname = NBL_LEONIS; break;
case 0x340C : dev_fname = NBL_LEONIS; break;
case 0x340D : dev_fname = NBL_LEONIS; break;
case 0x340E : dev_fname = NBL_LEONIS; break;
case 0x340F : dev_fname = NBL_LEONIS; break;
case 0x3410 : dev_fname = NBL_LEONIS; break;
case 0x3411 : dev_fname = NBL_LEONIS; break;
case 0x3412 : dev_fname = NBL_LEONIS; break;
case 0x3413 : dev_fname = NBL_LEONIS; break; /* leonis snic v3r1 vf nbl_dev */
case 0x1047 : dev_fname = NBL_DF200; break; /* DF200 */
case 0x1226 : dev_fname = NBL_DF200; break; /* DF200 */
case 0x1227 : dev_fname = NBL_DF200; break; /* DF200 */
case 0x3500 : dev_fname = NBL_DRACO; break; /* draco use same inline size with df200 */
case 0x3500 : dev_fname = NBL_DRACO; break; /* DRACO pf */
case 0x3501 : dev_fname = NBL_DRACO; break;
case 0x3502 : dev_fname = NBL_DRACO; break;
case 0x3503 : dev_fname = NBL_DRACO; break;
case 0x3504 : dev_fname = NBL_DRACO; break;
case 0x3505 : dev_fname = NBL_DRACO; break;
case 0x3506 : dev_fname = NBL_DRACO; break;
case 0x3507 : dev_fname = NBL_DRACO; break;
case 0x3508 : dev_fname = NBL_DRACO; break;
case 0x3509 : dev_fname = NBL_DRACO; break;
case 0x350A : dev_fname = NBL_DRACO; break; /* DRACO vf nbl_dev */
case 0x1610 : dev_fname = NBL_RNIC400; break; /* RNIC400 */
default : dev_fname = NBL_LEONIS;
}
Expand Down Expand Up @@ -2703,7 +2727,7 @@ static void ctx_set_max_inline(struct ibv_context *context,struct perftest_param
if (user_param->connection_type == UD)
user_param->inline_size = 0;
else
user_param->inline_size = 48;
user_param->inline_size = 32;
} else if (current_dev == NBL_DF200 || current_dev == NBL_DRACO || current_dev == NBL_RNIC400) {
if (user_param->connection_type == UD)
user_param->inline_size = 434;
Expand Down