Home
last modified time | relevance | path

Searched refs:proc_type (Results 1 – 7 of 7) sorted by relevance

/f-stack/dpdk/examples/multi_process/symmetric_mp/
H A Dmain.c428 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 Dtest_timer_secondary.c114 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 Dff_config.c763 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 Dff_config.h126 char *proc_type; member
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_ff_module.c171 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 Dmulti_process.rst225 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 Dngx_process_cycle.c31 extern int ff_mod_init(const char *conf, int proc_id, int proc_type);