The following fragment occurs in both programs: 551 case 's': 552 size = strtol(optarg, NULL, 0); 553 break; 554 555 case 'm': 556 mtu = pp_mtu_to_enum(strtol(optarg, NULL, 0)); 557 if (mtu < 0) { 558 usage(argv[0]); 559 return 1; 560 } 561 562 case 'r': 563 rx_depth = strtol(optarg, NULL, 0); 564 break; 565
Case m is missing a handy break statement. Setting mtu also sets rx_depth. Can workaround by following -m by -r which resets rx_depth.
_______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general