Searched refs:proc_type (Results 1 – 7 of 7) sorted by relevance
| /f-stack/dpdk/examples/multi_process/symmetric_mp/ |
| H A D | main.c | 428 enum rte_proc_type_t proc_type; in main() local 449 proc_type = rte_eal_process_type(); in main() 450 mp = (proc_type == RTE_PROC_SECONDARY) ? in main() 461 if(proc_type == RTE_PROC_PRIMARY) in main() 466 if (proc_type == RTE_PROC_PRIMARY) in main()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_timer_secondary.c | 114 int proc_type = rte_eal_process_type(); in test_timer_secondary() local 119 if (proc_type == RTE_PROC_PRIMARY) { in test_timer_secondary() 168 } else if (proc_type == RTE_PROC_SECONDARY) { in test_timer_secondary()
|
| /f-stack/lib/ |
| H A D | ff_config.c | 763 if (cfg->dpdk.proc_type) { in dpdk_args_setup() 764 sprintf(temp, "--proc-type=%s", cfg->dpdk.proc_type); in dpdk_args_setup() 898 cfg->dpdk.proc_type = strdup(optarg); in ff_parse_args() 905 if (cfg->dpdk.proc_type == NULL) { in ff_parse_args() 906 cfg->dpdk.proc_type = strdup("auto"); in ff_parse_args() 909 if (strcmp(cfg->dpdk.proc_type, "primary") && in ff_parse_args() 910 strcmp(cfg->dpdk.proc_type, "secondary") && in ff_parse_args() 911 strcmp(cfg->dpdk.proc_type, "auto")) { in ff_parse_args() 912 printf("invalid proc-type:%s\n", cfg->dpdk.proc_type); in ff_parse_args() 990 strcmp(cfg->dpdk.proc_type, "primary") == 0) { in ff_check_config()
|
| H A D | ff_config.h | 126 char *proc_type; member
|
| /f-stack/app/nginx-1.16.1/src/event/modules/ |
| H A D | ngx_ff_module.c | 171 ff_mod_init(const char *conf, int proc_id, int proc_type) { in ff_mod_init() argument 183 if (proc_type == 1) { in ff_mod_init()
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | multi_process.rst | 225 if(proc_type == RTE_PROC_PRIMARY) 236 …mp = (proc_type == RTE_PROC_SECONDARY) ? rte_mempool_lookup(_SMP_MBUF_POOL) : rte_mempool_create(_…
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_process_cycle.c | 31 extern int ff_mod_init(const char *conf, int proc_id, int proc_type);
|