Lines Matching refs:optarg

541 parse_event_printing_config(const char *optarg, int enable)  in parse_event_printing_config()  argument
545 if (!strcmp(optarg, "unknown")) in parse_event_printing_config()
547 else if (!strcmp(optarg, "intr_lsc")) in parse_event_printing_config()
549 else if (!strcmp(optarg, "queue_state")) in parse_event_printing_config()
551 else if (!strcmp(optarg, "intr_reset")) in parse_event_printing_config()
553 else if (!strcmp(optarg, "vf_mbox")) in parse_event_printing_config()
555 else if (!strcmp(optarg, "ipsec")) in parse_event_printing_config()
557 else if (!strcmp(optarg, "macsec")) in parse_event_printing_config()
559 else if (!strcmp(optarg, "intr_rmv")) in parse_event_printing_config()
561 else if (!strcmp(optarg, "dev_probed")) in parse_event_printing_config()
563 else if (!strcmp(optarg, "dev_released")) in parse_event_printing_config()
565 else if (!strcmp(optarg, "flow_aged")) in parse_event_printing_config()
567 else if (!strcmp(optarg, "all")) in parse_event_printing_config()
570 fprintf(stderr, "Invalid event: %s\n", optarg); in parse_event_printing_config()
737 optarg); in launch_args_parse()
738 strlcpy(cmdline_filename, optarg, in launch_args_parse()
754 n = strtoul(optarg, &end, 10); in launch_args_parse()
755 if ((optarg[0] == '\0') || (end == NULL) || in launch_args_parse()
764 if (init_peer_eth_addrs(optarg) != 0) in launch_args_parse()
772 n = strtoul(optarg, &port_end, 10); in launch_args_parse()
773 if (errno != 0 || port_end == optarg || *port_end++ != ',') in launch_args_parse()
775 "Invalid eth-peer: %s", optarg); in launch_args_parse()
793 end = strchr(optarg, ','); in launch_args_parse()
794 if (end == optarg || !end) in launch_args_parse()
796 "Invalid tx-ip: %s", optarg); in launch_args_parse()
799 if (inet_aton(optarg, &in) == 0) in launch_args_parse()
802 optarg); in launch_args_parse()
808 optarg); in launch_args_parse()
815 n = strtoul(optarg, &end, 10); in launch_args_parse()
816 if (errno != 0 || end == optarg || in launch_args_parse()
821 optarg); in launch_args_parse()
839 n = atoi(optarg); in launch_args_parse()
847 n = atoi(optarg); in launch_args_parse()
856 parse_fwd_coremask(optarg); in launch_args_parse()
858 parse_fwd_portmask(optarg); in launch_args_parse()
860 parse_fwd_portlist(optarg); in launch_args_parse()
869 if (!strcmp(optarg, "native")) in launch_args_parse()
871 else if (!strcmp(optarg, "anon")) in launch_args_parse()
873 else if (!strcmp(optarg, "xmem")) in launch_args_parse()
875 else if (!strcmp(optarg, "xmemhuge")) in launch_args_parse()
877 else if (!strcmp(optarg, "xbuf")) in launch_args_parse()
883 optarg); in launch_args_parse()
886 if (parse_portnuma_config(optarg)) in launch_args_parse()
891 if (parse_ringnuma_config(optarg)) in launch_args_parse()
895 n = atoi(optarg); in launch_args_parse()
908 nb_segs = parse_item_list(optarg, "mbuf-size", in launch_args_parse()
923 n = atoi(optarg); in launch_args_parse()
931 n = atoi(optarg); in launch_args_parse()
943 n = atoi(optarg); in launch_args_parse()
947 if (!strcmp(optarg, "signature")) in launch_args_parse()
950 else if (!strcmp(optarg, "perfect")) in launch_args_parse()
952 else if (!strcmp(optarg, "perfect-mac-vlan")) in launch_args_parse()
954 else if (!strcmp(optarg, "perfect-tunnel")) in launch_args_parse()
956 else if (!strcmp(optarg, "none")) in launch_args_parse()
963 optarg); in launch_args_parse()
967 if (!strcmp(optarg, "none")) in launch_args_parse()
970 else if (!strcmp(optarg, "match")) in launch_args_parse()
973 else if (!strcmp(optarg, "always")) in launch_args_parse()
980 optarg); in launch_args_parse()
983 if (!strcmp(optarg, "64K")) in launch_args_parse()
986 else if (!strcmp(optarg, "128K")) in launch_args_parse()
989 else if (!strcmp(optarg, "256K")) in launch_args_parse()
995 optarg); in launch_args_parse()
999 n = atoi(optarg); in launch_args_parse()
1010 n = atoi(optarg); in launch_args_parse()
1022 n = atoi(optarg); in launch_args_parse()
1068 if (!strcmp(optarg, "paired")) in launch_args_parse()
1070 else if (!strcmp(optarg, "chained")) in launch_args_parse()
1072 else if (!strcmp(optarg, "loop")) in launch_args_parse()
1077 optarg); in launch_args_parse()
1080 set_pkt_forwarding_mode(optarg); in launch_args_parse()
1090 n = atoi(optarg); in launch_args_parse()
1099 n = atoi(optarg); in launch_args_parse()
1108 n = atoi(optarg); in launch_args_parse()
1141 n = strtoul(optarg, &end, 0); in launch_args_parse()
1142 if (errno != 0 || end == optarg) in launch_args_parse()
1148 n = atoi(optarg); in launch_args_parse()
1188 n = atoi(optarg); in launch_args_parse()
1198 n = atoi(optarg); in launch_args_parse()
1205 n = atoi(optarg); in launch_args_parse()
1212 n = atoi(optarg); in launch_args_parse()
1227 n = atoi(optarg); in launch_args_parse()
1234 n = atoi(optarg); in launch_args_parse()
1241 n = atoi(optarg); in launch_args_parse()
1248 n = atoi(optarg); in launch_args_parse()
1255 n = atoi(optarg); in launch_args_parse()
1262 n = atoi(optarg); in launch_args_parse()
1269 n = atoi(optarg); in launch_args_parse()
1276 n = atoi(optarg); in launch_args_parse()
1283 if (parse_queue_stats_mapping_config(optarg, TX)) { in launch_args_parse()
1289 if (parse_queue_stats_mapping_config(optarg, RX)) { in launch_args_parse()
1299 (optarg, "rxpkt offsets", in launch_args_parse()
1312 (optarg, "rxpkt segments", in launch_args_parse()
1324 nb_segs = parse_item_list(optarg, "txpkt segments", in launch_args_parse()
1347 n = strtoull(optarg, &end, 16); in launch_args_parse()
1357 n = strtoull(optarg, &end, 16); in launch_args_parse()
1366 n = atoi(optarg); in launch_args_parse()
1375 n = atoi(optarg); in launch_args_parse()
1383 if (parse_event_printing_config(optarg, 1)) { in launch_args_parse()
1388 if (parse_event_printing_config(optarg, 0)) { in launch_args_parse()
1400 n = atoi(optarg); in launch_args_parse()
1409 n = atoi(optarg); in launch_args_parse()
1418 n = atoi(optarg); in launch_args_parse()
1427 n = atoi(optarg); in launch_args_parse()
1436 n = atoi(optarg); in launch_args_parse()
1445 n = atoi(optarg); in launch_args_parse()
1457 n = strtoul(optarg, &end, 16); in launch_args_parse()