Home
last modified time | relevance | path

Searched refs:tcfg (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_red.c494 *tcfg->tconfig->maxp_inv, tcfg->tlevel[i]); in func_test1()
498 if (tcfg->tlevel[i] == tcfg->tconfig->min_th) in func_test1()
500 else if (tcfg->tlevel[i] == tcfg->tconfig->max_th) in func_test1()
605 tcfg->tconfig->maxp_inv[i], *tcfg->tlevel); in func_test2()
1011 tcfg->tconfig->min_th, tcfg->tconfig->max_th, in func_test5()
1285 *tcfg->tqueue->q = *tcfg->tlevel; in perf1_test()
1295 rte_red_set_avg_int(tcfg->tconfig->rconfig, tcfg->tqueue->rdata, *tcfg->tlevel); in perf1_test()
1426 *tcfg->tqueue->q = *tcfg->tlevel; in perf2_test()
1438 rte_red_set_avg_int(tcfg->tconfig->rconfig, tcfg->tqueue->rdata, *tcfg->tlevel); in perf2_test()
1620 if (++(*tcfg->tqueue->q) >= *tcfg->tlevel) in ovfl_test1()
[all …]
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_table_value.c178 struct tables_config *tcfg; in resize_shared_value_storage() local
193 tcfg = CHAIN_TO_TCFG(ch); in resize_shared_value_storage()
195 val_size = tcfg->val_size * 2; in resize_shared_value_storage()
212 if (tcfg->val_size >= val_size) in resize_shared_value_storage()
230 val_size_old = tcfg->val_size; in resize_shared_value_storage()
231 tcfg->val_size = val_size; in resize_shared_value_storage()
768 struct tables_config *tcfg; in ipfw_table_value_init() local
773 tcfg = ch->tblcfg; in ipfw_table_value_init()
775 tcfg->val_size = VALDATA_START_SIZE; in ipfw_table_value_init()
776 tcfg->valhash = ipfw_objhash_create(tcfg->val_size); in ipfw_table_value_init()
[all …]
H A Dip_fw_table.c139 struct tables_config *tcfg; in rollback_toperation_state() local
142 tcfg = CHAIN_TO_TCFG(ch); in rollback_toperation_state()
150 struct tables_config *tcfg; in add_toperation_state() local
152 tcfg = CHAIN_TO_TCFG(ch); in add_toperation_state()
159 struct tables_config *tcfg; in del_toperation_state() local
161 tcfg = CHAIN_TO_TCFG(ch); in del_toperation_state()
2592 ta = tcfg->algo[i]; in find_table_algo()
2648 tcfg->algo[++tcfg->algo_count] = ta_new; in ipfw_add_table_algo()
2677 ta = tcfg->algo[idx]; in ipfw_del_table_algo()
2729 ta = tcfg->algo[n]; in list_table_algo()
[all …]
H A Dip_fw_nat.c495 struct cfg_nat *ptr, *tcfg; in nat44_config() local
545 tcfg = NULL; in nat44_config()
547 tcfg = lookup_nat_name(&chain->nat, ucfg->name); in nat44_config()
549 if (tcfg != NULL) in nat44_config()
550 LIST_REMOVE(tcfg, _next); in nat44_config()
557 if (tcfg != NULL) in nat44_config()
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c5284 struct tstorm_eth_function_common_config *tcfg, in storm_memset_func_cfg() argument
5293 ecore_storm_memset_struct(sc, addr, size, (uint32_t *) tcfg); in storm_memset_func_cfg()
5298 struct tstorm_eth_function_common_config tcfg = { 0 }; in bnx2x_func_init() local
5301 storm_memset_func_cfg(sc, &tcfg, p->func_id); in bnx2x_func_init()