Skip to content

Commit

Permalink
fabtests/multi_ep: Support customized transfer size
Browse files Browse the repository at this point in the history
The current test hard-coded the transfer size as 256,
this patch allows the test to run with customized
transfer size

Signed-off-by: Shi Jin <sjina@amazon.com>
  • Loading branch information
shijin-aws committed Feb 21, 2025
1 parent cefee50 commit 33f19f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fabtests/functional/multi_ep.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,14 +616,15 @@ int main(int argc, char **argv)
if (!hints)
return EXIT_FAILURE;

while ((op = getopt_long(argc, argv, "c:vhAQ" ADDR_OPTS INFO_OPTS,
while ((op = getopt_long(argc, argv, "c:vhAQ" ADDR_OPTS INFO_OPTS CS_OPTS,
long_opts, &lopt_idx)) != -1) {
switch (op) {
default:
if (!ft_parse_long_opts(op, optarg))
continue;
ft_parse_addr_opts(op, optarg, &opts);
ft_parseinfo(op, optarg, hints, &opts);
ft_parsecsopts(op, optarg, &opts);
break;
case 'c':
num_eps = atoi(optarg);
Expand Down

0 comments on commit 33f19f9

Please sign in to comment.