| /dpdk/app/test/ |
| H A D | test_graph.c | 173 test_main_t *tm = &test_main; in test_node_worker_source() local 217 test_main_t *tm = &test_main; in test_node0_worker() local 300 test_main_t *tm = &test_main; in test_node1_worker() local 314 tm->test_node[1].idx, in test_node1_worker() 354 test_main_t *tm = &test_main; in test_node2_worker() local 410 test_main_t *tm = &test_main; in test_node3_worker() local 469 test_main_t *tm = &test_main; in test_lookup_functions() local 546 test_main_t *tm = &test_main; in test_node_clone() local 567 tm->test_node[i].idx = in test_node_clone() 588 test_main_t *tm = &test_main; in test_update_edges() local [all …]
|
| H A D | test_meter.c | 266 struct rte_meter_trtcm tm; in tm_test_trtcm_color_blind_check() local 272 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check() 276 &tm, &tp, time, TM_TEST_TRTCM_CBS_DF - 1) in tm_test_trtcm_color_blind_check() 283 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check() 287 &tm, &tp, time, TM_TEST_TRTCM_CBS_DF + 1) in tm_test_trtcm_color_blind_check() 293 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check() 297 &tm, &tp, time, TM_TEST_TRTCM_PBS_DF - 1) in tm_test_trtcm_color_blind_check() 304 if (rte_meter_trtcm_config(&tm, &tp) != 0) in tm_test_trtcm_color_blind_check() 325 struct rte_meter_trtcm_rfc4115 tm; in tm_test_trtcm_rfc4115_color_blind_check() local 497 struct rte_meter_trtcm tm; in tm_test_trtcm_aware_check() local [all …]
|
| H A D | test_barrier.c | 133 uint64_t tm; in plock_test1_lcore() local 151 tm = rte_get_timer_cycles(); in plock_test1_lcore() 169 tm = rte_get_timer_cycles() - tm; in plock_test1_lcore() 174 __func__, lc, i, tm, (long double)tm / i, in plock_test1_lcore()
|
| H A D | test_rwlock.c | 297 uint64_t ftm, stm, tm; in try_read_lcore() local 318 tm = rte_get_timer_cycles() - stm; in try_read_lcore() 319 } while (tm < ftm && rc == 0); in try_read_lcore() 322 lcd->stat.tick = tm; in try_read_lcore() 331 uint64_t ftm, stm, tm; in try_write_lcore() local 352 tm = rte_get_timer_cycles() - stm; in try_write_lcore() 353 } while (tm < ftm && rc == 0); in try_write_lcore() 356 lcd->stat.tick = tm; in try_write_lcore()
|
| H A D | test_pcapng.c | 185 struct tm *tm; in pkt_print() local 188 tm = localtime(&h->ts.tv_sec); in pkt_print() 189 if (tm == NULL) { in pkt_print() 194 if (strftime(tbuf, sizeof(tbuf), "%X", tm) == 0) { in pkt_print()
|
| H A D | test_ring_stress_impl.h | 68 uint64_t tm, int32_t prcs) in lcore_stat_update() argument 72 ls->op.nb_cycle += tm; in lcore_stat_update() 74 ls->op.max_cycle = RTE_MAX(ls->op.max_cycle, tm); in lcore_stat_update() 75 ls->op.min_cycle = RTE_MIN(ls->op.min_cycle, tm); in lcore_stat_update()
|
| H A D | test_mbuf.c | 1407 uint64_t tm, v1, v2; in test_tx_offload() local 1444 tm = rte_rdtsc_precise(); in test_tx_offload() 1450 tm = rte_rdtsc_precise() - tm; in test_tx_offload() 1453 __func__, num, tm, (long double)tm / num); in test_tx_offload() 1458 tm = rte_rdtsc_precise(); in test_tx_offload() 1464 tm = rte_rdtsc_precise() - tm; in test_tx_offload() 1467 __func__, num, tm, (long double)tm / num); in test_tx_offload()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic.c | 523 &get_uint32, &p->tm.n_queues); in pmd_parse_args() 531 &get_uint32, &p->tm.qsize[0]); in pmd_parse_args() 538 &get_uint32, &p->tm.qsize[1]); in pmd_parse_args() 545 &get_uint32, &p->tm.qsize[2]); in pmd_parse_args() 552 &get_uint32, &p->tm.qsize[3]); in pmd_parse_args() 559 &get_uint32, &p->tm.qsize[4]); in pmd_parse_args() 566 &get_uint32, &p->tm.qsize[5]); in pmd_parse_args() 573 &get_uint32, &p->tm.qsize[6]); in pmd_parse_args() 580 &get_uint32, &p->tm.qsize[7]); in pmd_parse_args() 586 &get_uint32, &p->tm.qsize[8]); in pmd_parse_args() [all …]
|
| H A D | rte_eth_softnic_tm.c | 153 memset(&p->soft.tm, 0, sizeof(p->soft.tm)); in tm_hierarchy_init() 2015 p->soft.tm.h.n_nodes++; in pmd_tm_node_add() 2096 p->soft.tm.h.n_nodes--; in pmd_tm_node_delete() 2769 p->params.tm.qsize[1], in hierarchy_blueprints_create() 2770 p->params.tm.qsize[2], in hierarchy_blueprints_create() 2771 p->params.tm.qsize[3], in hierarchy_blueprints_create() 2772 p->params.tm.qsize[4], in hierarchy_blueprints_create() 2773 p->params.tm.qsize[5], in hierarchy_blueprints_create() 2774 p->params.tm.qsize[6], in hierarchy_blueprints_create() 2775 p->params.tm.qsize[7], in hierarchy_blueprints_create() [all …]
|
| H A D | rte_eth_softnic_internals.h | 48 } tm; member 351 struct rte_table_action_tm_config tm; member 623 struct tm_internals tm; /**< Traffic Management */ member 784 return p->soft.tm.h.n_tm_nodes[TM_NODE_LEVEL_PORT]; in tm_used() 981 struct rte_table_action_tm_params tm; member
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_tm.c | 200 tm = &rpst->tm; in ipn3ke_tm_init() 207 tm->h.n_vt_nodes = 0; in ipn3ke_tm_init() 208 tm->h.n_cos_nodes = 0; in ipn3ke_tm_init() 215 tm->tm_started = 1; in ipn3ke_tm_init() 388 tm_id = tm->tm_id; in ipn3ke_pmd_tm_node_type_get() 629 tm_id = tm->tm_id; in ipn3ke_tm_node_capabilities_get() 1189 tm_id = tm->tm_id; in ipn3ke_tm_node_add() 1393 tm_id = tm->tm_id; in ipn3ke_pmd_tm_node_delete() 1518 tm_id = tm->tm_id; in ipn3ke_tm_hierarchy_commit_check() 1935 tm_id = tm->tm_id; in ipn3ke_tm_show() [all …]
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_regs.c | 203 struct tm *tm; in qede_set_fw_dump_file_name() local 206 tm = localtime(<ime); in qede_set_fw_dump_file_name() 209 tm->tm_mon + 1, (int)tm->tm_mday, 1900 + tm->tm_year, in qede_set_fw_dump_file_name() 210 tm->tm_hour, tm->tm_min, tm->tm_sec); in qede_set_fw_dump_file_name()
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_tm.c | 205 cmdline_fixed_string_t tm; member 218 tm, "tm"); 349 cmdline_fixed_string_t tm; member 364 tm, "tm"); 499 cmdline_fixed_string_t tm; member 514 tm, "tm"); 622 cmdline_fixed_string_t tm; member 741 cmdline_fixed_string_t tm; member 819 cmdline_fixed_string_t tm; member 843 tm, "tm"); [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_trace_utils.c | 92 struct tm *tm_result; in trace_session_name_generate() 93 time_t tm; in trace_session_name_generate() local 96 tm = time(NULL); in trace_session_name_generate() 97 if ((int)tm == -1) in trace_session_name_generate() 100 tm_result = localtime(&tm); in trace_session_name_generate()
|
| /dpdk/app/test-sad/ |
| H A D | main.c | 552 uint64_t start, tm[fract + 1]; in add_rules() local 571 tm[j] = rte_rdtsc_precise() - start; in add_rules() 577 nm[i], (long double)tm[i] / nm[i], in add_rules() 578 (long double)nm[i] * rte_get_tsc_hz() / tm[i]); in add_rules() 586 uint64_t start, tm[fract + 1]; in del_rules() local 605 tm[j] = rte_rdtsc_precise() - start; in del_rules() 611 nm[i], (long double)tm[i] / nm[i], in del_rules() 612 (long double)nm[i] * rte_get_tsc_hz() / tm[i]); in del_rules()
|
| /dpdk/doc/guides/nics/ |
| H A D | dpaa2.rst | 624 add port tm nonleaf node 0 8 -1 0 1 0 1 1 1 0 625 add port tm leaf node 0 0 8 0 1 1 -1 0 0 0 0 626 add port tm leaf node 0 1 8 1 1 1 -1 0 0 0 0 627 add port tm leaf node 0 2 8 2 1 1 -1 0 0 0 0 628 add port tm leaf node 0 3 8 3 1 1 -1 0 0 0 0 629 port tm hierarchy commit 0 no 638 add port tm nonleaf node 0 8 -1 0 1 0 1 1 1 0 639 add port tm leaf node 0 0 8 0 200 1 -1 0 0 0 0 640 add port tm leaf node 0 1 8 0 300 1 -1 0 0 0 0 641 add port tm leaf node 0 2 8 0 400 1 -1 0 0 0 0 [all …]
|
| H A D | ipn3ke.rst | 53 --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow}' 60 …--vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow},i40e_pf={0000:b1:00.0|0000:b1:00.1|0000:b1:00… 91 …dev_cfg0,ifpga=b3:00.0,port=0' --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow},i40e_pf={0000:…
|
| H A D | mvpp2.rst | 691 testpmd> add port tm node shaper profile 0 0 900000 70000 0 705 testpmd> add port tm nonleaf node 0 3 -1 0 0 0 0 0 1 3 0 724 testpmd> add port tm leaf node 0 0 3 0 30 1 -1 0 0 1 0 744 testpmd> add port tm leaf node 0 1 3 0 60 1 -1 0 0 1 0 764 testpmd> add port tm leaf node 0 2 3 0 99 1 -1 0 0 1 0 784 testpmd> port tm hierarchy commit 0 no
|
| /dpdk/doc/guides/tools/ |
| H A D | proc_info.rst | 21 --stats-reset | --xstats-reset] [ --show-port | --show-tm | --show-crypto | 50 **--show-tm** 51 The show-tm parameter displays per port traffic manager settings, current
|
| /dpdk/app/dumpcap/ |
| H A D | main.c | 615 struct tm *tm; in create_output() local 621 tm = localtime(&now); in create_output() 622 if (!tm) in create_output() 625 strftime(ts, sizeof(ts), "%Y%m%d%H%M%S", tm); in create_output()
|
| /dpdk/examples/ip_pipeline/ |
| H A D | action.h | 51 struct rte_table_action_tm_config tm; member
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_platform.c | 67 RTE_LOG_REGISTER(cnxk_logtype_tm, pmd.net.cnxk.tm, NOTICE);
|
| /dpdk/app/test-acl/ |
| H A D | main.c | 904 uint64_t pkt, start, tm; in search_ip5tuples() local 917 tm = rte_rdtsc_precise() - start; in search_ip5tuples() 919 st = (long double)tm / rte_get_timer_hz(); in search_ip5tuples() 925 config.run_categories, tm, st, in search_ip5tuples() 926 (pkt == 0) ? 0 : (long double)tm / pkt, pkt / st); in search_ip5tuples()
|
| /dpdk/lib/timer/ |
| H A D | rte_timer.c | 1017 const struct rte_timer *tm; in rte_timer_next_ticks() local 1027 tm = priv_timer[lcore_id].pending_head.sl_next[0]; in rte_timer_next_ticks() 1028 if (tm) { in rte_timer_next_ticks() 1029 left = tm->expire - cur_time; in rte_timer_next_ticks()
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.c | 2640 uint64_t tm; in rx_callback() local 2648 tm = 0; in rx_callback() 2663 tm = (tm != 0) ? tm : rte_rdtsc(); in rx_callback() 2666 mb, tm, iph); in rx_callback() 2689 tm = (tm != 0) ? tm : rte_rdtsc(); in rx_callback() 2692 mb, tm, iph, fh); in rx_callback() 2704 if (tm != 0) in rx_callback()
|