Home
last modified time | relevance | path

Searched refs:subport_profile (Results 1 – 8 of 8) sorted by relevance

/f-stack/dpdk/examples/qos_sched/
H A Dcfg_file.c153 if (!cfg || !subport_profile) in cfg_load_subport_profile()
166 subport_profile[i].tb_rate = (uint64_t)atoi(entry); in cfg_load_subport_profile()
170 subport_profile[i].tb_size = (uint64_t)atoi(entry); in cfg_load_subport_profile()
174 subport_profile[i].tc_period = (uint64_t)atoi(entry); in cfg_load_subport_profile()
178 subport_profile[i].tc_rate[0] = (uint64_t)atoi(entry); in cfg_load_subport_profile()
182 subport_profile[i].tc_rate[1] = (uint64_t)atoi(entry); in cfg_load_subport_profile()
186 subport_profile[i].tc_rate[2] = (uint64_t)atoi(entry); in cfg_load_subport_profile()
190 subport_profile[i].tc_rate[3] = (uint64_t)atoi(entry); in cfg_load_subport_profile()
194 subport_profile[i].tc_rate[4] = (uint64_t)atoi(entry); in cfg_load_subport_profile()
198 subport_profile[i].tc_rate[5] = (uint64_t)atoi(entry); in cfg_load_subport_profile()
[all …]
H A Dcfg_file.h19 *subport_profile);
H A Dinit.c196 subport_profile[MAX_SCHED_SUBPORT_PROFILES] = { variable
294 .subport_profiles = subport_profile,
363 cfg_load_subport_profile(file, subport_profile); in app_load_cfg_profile()
/f-stack/dpdk/examples/ip_pipeline/
H A Dtmgr.c13 subport_profile[TMGR_SUBPORT_PROFILE_MAX]; variable
131 memcpy(&subport_profile[n_subport_profiles], in tmgr_subport_profile_add()
185 p.subport_profiles = subport_profile; in tmgr_port_create()
H A Dcli.c404 struct rte_sched_subport_profile_params subport_profile; in cmd_tmgr_subport_profile() local
412 if (parser_read_uint64(&subport_profile.tb_rate, tokens[3]) != 0) { in cmd_tmgr_subport_profile()
417 if (parser_read_uint64(&subport_profile.tb_size, tokens[4]) != 0) { in cmd_tmgr_subport_profile()
423 if (parser_read_uint64(&subport_profile.tc_rate[i], in cmd_tmgr_subport_profile()
429 if (parser_read_uint64(&subport_profile.tc_period, tokens[18]) != 0) { in cmd_tmgr_subport_profile()
434 status = tmgr_subport_profile_add(&subport_profile); in cmd_tmgr_subport_profile()
/f-stack/dpdk/app/test/
H A Dtest_sched.c41 subport_profile[] = { variable
69 .subport_profiles = subport_profile,
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c1128 if (memcmp(&t->subport_profile[i], sp, sizeof(*sp)) == 0) { in subport_profile_exists()
1143 struct rte_sched_subport_profile_params subport_profile; in update_subport_tc_rate() local
1160 memcpy(&subport_profile, in update_subport_tc_rate()
1161 &p->soft.tm.params.subport_profile[subport_profile_id], in update_subport_tc_rate()
1162 sizeof(subport_profile)); in update_subport_tc_rate()
1163 subport_profile.tc_rate[tc_id] = sp_new->params.peak.rate; in update_subport_tc_rate()
1177 &subport_profile, in update_subport_tc_rate()
1178 sizeof(subport_profile)); in update_subport_tc_rate()
2381 return &t->subport_profile[subport_id]; in subport_profile_get()
2403 memcpy(&t->subport_profile[subport_profile_id], in subport_profile_install()
[all …]
H A Drte_eth_softnic_internals.h176 subport_profile[TM_MAX_SUBPORT_PROFILE]; member