Home
last modified time | relevance | path

Searched refs:node_id (Results 1 – 25 of 44) sorted by relevance

12

/dpdk/lib/ethdev/
H A Drte_tm.c88 uint32_t node_id, in rte_tm_node_type_get() argument
120 uint32_t node_id, in rte_tm_node_capabilities_get() argument
215 uint32_t node_id, in rte_tm_node_add() argument
231 uint32_t node_id, in rte_tm_node_delete() argument
236 node_id, error); in rte_tm_node_delete()
241 uint32_t node_id, in rte_tm_node_suspend() argument
246 node_id, error); in rte_tm_node_suspend()
251 uint32_t node_id, in rte_tm_node_resume() argument
256 node_id, error); in rte_tm_node_resume()
271 uint32_t node_id, in rte_tm_node_parent_update() argument
[all …]
H A Drte_tm_driver.h30 uint32_t node_id,
47 uint32_t node_id,
99 uint32_t node_id,
109 uint32_t node_id,
114 uint32_t node_id,
119 uint32_t node_id,
129 uint32_t node_id,
137 uint32_t node_id,
143 uint32_t node_id,
150 uint32_t node_id,
[all …]
H A Drte_tm.h1275 uint32_t node_id,
1336 uint32_t node_id,
1615 uint32_t node_id,
1649 uint32_t node_id,
1674 uint32_t node_id,
1698 uint32_t node_id,
1781 uint32_t node_id,
1811 uint32_t node_id,
1839 uint32_t node_id,
1867 uint32_t node_id,
[all …]
/dpdk/drivers/net/mvpp2/
H A Dmrvl_tm.c127 if (node->id == node_id) in mrvl_node_from_id()
159 node = mrvl_node_from_id(priv, node_id); in mrvl_node_type_get()
324 node = mrvl_node_from_id(priv, node_id); in mrvl_node_capabilities_get()
502 if (node_id == RTE_TM_NODE_ID_NULL) in mrvl_node_check_params()
654 node = mrvl_node_from_id(priv, node_id); in mrvl_node_add()
666 node->id = node_id; in mrvl_node_add()
714 node = mrvl_node_from_id(priv, node_id); in mrvl_node_delete()
777 node = mrvl_node_from_id(priv, node_id); in mrvl_node_suspend()
823 node = mrvl_node_from_id(priv, node_id); in mrvl_node_resume()
981 node = mrvl_node_from_id(priv, node_id); in mrvl_node_stats_read()
[all …]
/dpdk/drivers/net/hns3/
H A Dhns3_tm.c300 uint32_t node_id, in hns3_tm_node_search() argument
314 if (tm_node->id == node_id) { in hns3_tm_node_search()
321 if (tm_node->id == node_id) { in hns3_tm_node_search()
489 tm_node->id = node_id; in hns3_tm_port_node_add()
538 tm_node->id = node_id; in hns3_tm_tc_node_add()
589 tm_node->id = node_id; in hns3_tm_queue_node_add()
682 uint32_t node_id, in hns3_tm_node_delete() argument
874 uint32_t node_id, in hns3_tm_node_capabilities_get() argument
1101 uint32_t node_id, in hns3_tm_node_shaper_do_update() argument
1147 uint32_t node_id, in hns3_tm_node_shaper_update() argument
[all …]
H A Dhns3_tm.h99 hns3_tm_calc_node_tc_no(struct hns3_tm_conf *conf, uint32_t node_id) in hns3_tm_calc_node_tc_no() argument
101 if (node_id >= conf->nb_leaf_nodes_max && in hns3_tm_calc_node_tc_no()
102 node_id < conf->nb_nodes_max - 1) in hns3_tm_calc_node_tc_no()
103 return node_id - conf->nb_leaf_nodes_max; in hns3_tm_calc_node_tc_no()
/dpdk/examples/server_node_efd/node/
H A Dnode.c44 static uint8_t node_id; variable
84 node_id = (uint8_t)temp; in parse_node_num()
208 snprintf(name, sizeof(name), "hash_table_%d", node_id); in create_hash_table()
215 node_id); in create_hash_table()
231 if (target_node != node_id) in populate_hash_table()
262 sent = rte_eth_tx_buffer(out_port, node_id, buffer, buf); in transmit_packet()
331 rx_ring = rte_ring_lookup(get_rx_queue_name(node_id)); in main()
344 tx_stats = &(info->tx_stats[node_id]); in main()
345 filter_stats = &(info->filter_stats[node_id]); in main()
356 printf("\nNode process %d handling packets\n", node_id); in main()
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c33 uint32_t node_id,
347 if (tm_node->id == node_id) { in ixgbe_tm_node_search()
354 if (tm_node->id == node_id) { in ixgbe_tm_node_search()
467 if (node_id == RTE_TM_NODE_ID_NULL) { in ixgbe_node_param_check()
498 if (node_id >= dev->data->nb_tx_queues) { in ixgbe_node_param_check()
633 tm_node->id = node_id; in ixgbe_node_add()
715 tm_node->id = node_id; in ixgbe_node_add()
762 if (node_id == RTE_TM_NODE_ID_NULL) { in ixgbe_node_delete()
819 if (node_id == RTE_TM_NODE_ID_NULL) { in ixgbe_node_type_get()
927 uint32_t node_id, in ixgbe_node_capabilities_get() argument
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_tm.c34 uint32_t node_id,
336 if (tm_node->id == node_id) { in txgbe_tm_node_search()
343 if (tm_node->id == node_id) { in txgbe_tm_node_search()
456 if (node_id == RTE_TM_NODE_ID_NULL) { in txgbe_node_param_check()
487 if (node_id >= dev->data->nb_tx_queues) { in txgbe_node_param_check()
621 tm_node->id = node_id; in txgbe_node_add()
703 tm_node->id = node_id; in txgbe_node_add()
749 if (node_id == RTE_TM_NODE_ID_NULL) { in txgbe_node_delete()
806 if (node_id == RTE_TM_NODE_ID_NULL) { in txgbe_node_type_get()
904 uint32_t node_id, in txgbe_node_capabilities_get() argument
[all …]
/dpdk/drivers/net/cnxk/
H A Dcnxk_tm.c9 cnxk_nix_tm_node_type_get(struct rte_eth_dev *eth_dev, uint32_t node_id, in cnxk_nix_tm_node_type_get() argument
21 node = roc_nix_tm_node_get(nix, node_id); in cnxk_nix_tm_node_type_get()
22 if (node_id == RTE_TM_NODE_ID_NULL || !node) { in cnxk_nix_tm_node_type_get()
378 node->nix_node.id = node_id; in cnxk_nix_tm_node_add()
422 if (node_id == RTE_TM_NODE_ID_NULL) { in cnxk_nix_tm_node_delete()
430 rc = roc_nix_tm_node_delete(nix, node_id, 0); in cnxk_nix_tm_node_delete()
448 rc = roc_nix_tm_node_suspend_resume(&dev->nix, node_id, true); in cnxk_nix_tm_node_suspend()
464 rc = roc_nix_tm_node_suspend_resume(&dev->nix, node_id, false); in cnxk_nix_tm_node_resume()
528 node = roc_nix_tm_node_get(nix, node_id); in cnxk_nix_tm_node_shaper_update()
547 rc = roc_nix_tm_node_parent_update(nix, node_id, new_parent_id, in cnxk_nix_tm_node_parent_update()
[all …]
/dpdk/drivers/net/iavf/
H A Diavf_tm.c33 uint32_t node_id,
115 if (tm_node->id == node_id) { in iavf_tm_node_search()
122 if (tm_node->id == node_id) { in iavf_tm_node_search()
138 if (node_id == RTE_TM_NODE_ID_NULL) { in iavf_node_param_check()
169 if (node_id >= vf->num_queue_pairs) { in iavf_node_param_check()
231 if (node_id == RTE_TM_NODE_ID_NULL) { in iavf_node_type_get()
342 tm_node->id = node_id; in iavf_tm_node_add()
389 if (node_id >= vf->num_queue_pairs) { in iavf_tm_node_add()
402 tm_node->id = node_id; in iavf_tm_node_add()
446 if (node_id == RTE_TM_NODE_ID_NULL) { in iavf_tm_node_delete()
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_tm.c34 uint32_t node_id,
337 if (tm_node->id == node_id) { in i40e_tm_node_search()
344 if (tm_node->id == node_id) { in i40e_tm_node_search()
361 if (node_id == RTE_TM_NODE_ID_NULL) { in i40e_node_param_check()
392 if (node_id >= hw->func_caps.num_tx_qp) { in i40e_node_param_check()
523 tm_node->id = node_id; in i40e_node_add()
597 tm_node->id = node_id; in i40e_node_add()
641 if (node_id == RTE_TM_NODE_ID_NULL) { in i40e_node_delete()
698 if (node_id == RTE_TM_NODE_ID_NULL) { in i40e_node_type_get()
806 uint32_t node_id, in i40e_node_capabilities_get() argument
[all …]
/dpdk/lib/eal/windows/
H A Deal_lcore.c26 uint16_t node_id; member
113 const unsigned int node_id = info->NumaNode.NodeNumber; in eal_create_lcore_map() local
126 if (cpu_map.sockets[socket_id].node_id == node_id) in eal_create_lcore_map()
133 cpu_map.sockets[socket_id].node_id = node_id; in eal_create_lcore_map()
244 return cpu_map.sockets[socket_id].node_id; in eal_socket_numa_node()
/dpdk/app/test-pmd/
H A Dcmdline_tm.c503 uint32_t node_id; member
535 uint32_t node_id = res->node_id; in cmd_show_port_tm_node_cap_parsed() local
557 node_id); in cmd_show_port_tm_node_cap_parsed()
626 uint32_t node_id; member
664 uint32_t node_id = res->node_id; in cmd_show_port_tm_node_stats_parsed() local
778 uint32_t node_id = res->node_id; in cmd_show_port_tm_node_type_parsed() local
1533 uint32_t node_id = res->node_id; in cmd_set_port_tm_node_shaper_profile_parsed() local
2099 uint32_t node_id = res->node_id; in cmd_del_port_tm_node_parsed() local
2188 uint32_t node_id = res->node_id; in cmd_set_port_tm_node_parent_parsed() local
2269 uint32_t node_id = res->node_id; in cmd_suspend_port_tm_node_parsed() local
[all …]
/dpdk/drivers/net/ice/
H A Dice_dcf_sched.c99 if (hw->tm_conf.root && hw->tm_conf.root->id == node_id) { in ice_dcf_tm_node_search()
105 if (tm_node->id == node_id) { in ice_dcf_tm_node_search()
112 if (tm_node->id == node_id) { in ice_dcf_tm_node_search()
146 if (node_id == RTE_TM_NODE_ID_NULL) { in ice_dcf_node_param_check()
177 if (node_id >= 8 * hw->num_vfs) { in ice_dcf_node_param_check()
230 ice_dcf_node_add(struct rte_eth_dev *dev, uint32_t node_id, in ice_dcf_node_add() argument
267 if (ice_dcf_tm_node_search(dev, node_id, &node_type)) { in ice_dcf_node_add()
307 tm_node->id = node_id; in ice_dcf_node_add()
356 if (node_id > (uint32_t)(tc_nb * hw->num_vfs)) { in ice_dcf_node_add()
369 tm_node->id = node_id; in ice_dcf_node_add()
[all …]
/dpdk/drivers/net/ice/base/
H A Dice_pg_cam.c12 ice_info(hw, "\tnode_id = %d\n", key->node_id); in _pg_cam_key_dump()
27 ice_info(hw, "\tnode_id = %d\n", key->node_id); in _pg_nm_cam_key_dump()
115 key->node_id = (u16)((data >> 1) & 0x7ff); in _pg_nm_cam_key_init()
144 key->node_id = (u16)((d64 >> 1) & 0x7ff); in _pg_cam_key_init()
304 item->key.node_id != key->node_id || in _pg_cam_match()
321 item->key.node_id != key->node_id || in _pg_nm_cam_match()
H A Dice_pg_cam.h15 u16 node_id; member
27 u16 node_id; member
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c273 if (n->node_id == node_id) in tm_node_search()
306 if (ns->node_id == subport_node->node_id) in tm_node_subport_id()
329 if (np->node_id == pipe_node->node_id) in tm_node_pipe_id()
358 if (nq->node_id == queue_node->node_id) in tm_node_queue_id()
397 uint32_t node_id, in pmd_tm_node_type_get() argument
893 uint32_t node_id, in pmd_tm_node_capabilities_get() argument
1426 uint32_t node_id, in node_add_check_port() argument
1500 uint32_t node_id, in node_add_check_subport() argument
1572 uint32_t node_id, in node_add_check_pipe() argument
1992 n->node_id = node_id; in pmd_tm_node_add()
[all …]
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_tm.c62 if (node->id == node_id) in dpaa2_node_from_id()
195 node = dpaa2_node_from_id(priv, node_id); in dpaa2_node_capabilities_get()
245 node = dpaa2_node_from_id(priv, node_id); in dpaa2_node_type_get()
365 if (node_id == RTE_TM_NODE_ID_NULL) in dpaa2_node_check_params()
395 if (node_id >= dev->data->nb_tx_queues) { in dpaa2_node_check_params()
432 dpaa2_node_add(struct rte_eth_dev *dev, uint32_t node_id, in dpaa2_node_add() argument
477 node = dpaa2_node_from_id(priv, node_id); in dpaa2_node_add()
489 node->id = node_id; in dpaa2_node_add()
491 if (node_id > dev->data->nb_tx_queues) in dpaa2_node_add()
541 node = dpaa2_node_from_id(priv, node_id); in dpaa2_node_delete()
[all …]
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c306 uint32_t node_id, uint32_t state_mask) in ipn3ke_hw_tm_node_search() argument
313 node_index = node_id % IPN3KE_TM_NODE_LEVEL_MOD; in ipn3ke_hw_tm_node_search()
393 if (node_id == RTE_TM_NODE_ID_NULL || in ipn3ke_pmd_tm_node_type_get()
1020 if (node_id == RTE_TM_NODE_ID_NULL) in ipn3ke_tm_node_add_check_parameter()
1192 node_id, in ipn3ke_tm_node_add()
1203 node_id, in ipn3ke_tm_node_add()
1212 params->shaper_profile_id != node_id) in ipn3ke_tm_node_add()
1318 uint32_t node_id, struct rte_tm_error *error) in ipn3ke_tm_node_del_check_parameter() argument
1323 if (node_id == RTE_TM_NODE_ID_NULL) in ipn3ke_tm_node_del_check_parameter()
1374 uint32_t node_id, struct rte_tm_error *error) in ipn3ke_pmd_tm_node_delete() argument
[all …]
/dpdk/app/test/
H A Dtest_graph.c547 uint32_t node_id, dummy_id; in test_node_clone() local
550 node_id = rte_node_from_name("test_node00"); in test_node_clone()
551 tm->test_node[0].idx = node_id; in test_node_clone()
553 dummy_id = rte_node_clone(node_id, "test_node00"); in test_node_clone()
560 dummy_id = rte_node_clone(node_id, "test_node00"); in test_node_clone()
568 rte_node_clone(node_id, tm->test_node[i].node.name); in test_node_clone()
589 uint32_t node_id; in test_update_edges() local
593 node_id = rte_node_from_name("test_node00"); in test_update_edges()
594 count = rte_node_edge_update(node_id, 0, in test_update_edges()
638 uint32_t node_id; in test_create_graph() local
[all …]
H A Dtest_graph_perf.c45 uint8_t node_id; member
69 if (graph_data->node_data[i].node_id == id) { in graph_get_node_data()
270 rte_node_t node_id; in graph_node_get() local
273 node_id = rte_node_from_name(lookup_name); in graph_node_get()
275 if (node_id != RTE_NODE_ID_INVALID) { in graph_node_get()
276 if (rte_node_edge_count(node_id)) in graph_node_get()
277 rte_node_edge_shrink(node_id, 0); in graph_node_get()
278 return node_id; in graph_node_get()
413 node_data->node_id = node_map[i][j]; in graph_init()
473 node_data->node_id = src_nodes[i]; in graph_init()
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_nix_tm_ops.c300 roc_nix_tm_node_pkt_mode_update(struct roc_nix *roc_nix, uint32_t node_id, in roc_nix_tm_node_pkt_mode_update() argument
308 node = nix_tm_node_search(nix, node_id, ROC_NIX_TM_USER); in roc_nix_tm_node_pkt_mode_update()
347 node = nix_tm_node_search(nix, node_id, ROC_NIX_TM_USER); in roc_nix_tm_node_name_get()
362 roc_nix_tm_node_delete(struct roc_nix *roc_nix, uint32_t node_id, bool free) in roc_nix_tm_node_delete() argument
364 return nix_tm_node_delete(roc_nix, node_id, ROC_NIX_TM_USER, free); in roc_nix_tm_node_delete()
667 roc_nix_tm_node_suspend_resume(struct roc_nix *roc_nix, uint32_t node_id, in roc_nix_tm_node_suspend_resume() argument
677 node = nix_tm_node_search(nix, node_id, ROC_NIX_TM_USER); in roc_nix_tm_node_suspend_resume()
753 roc_nix_tm_node_shaper_update(struct roc_nix *roc_nix, uint32_t node_id, in roc_nix_tm_node_shaper_update() argument
765 node = nix_tm_node_search(nix, node_id, ROC_NIX_TM_USER); in roc_nix_tm_node_shaper_update()
829 roc_nix_tm_node_parent_update(struct roc_nix *roc_nix, uint32_t node_id, in roc_nix_tm_node_parent_update() argument
[all …]
H A Droc_nix.h592 int __roc_api roc_nix_tm_node_delete(struct roc_nix *roc_nix, uint32_t node_id,
596 uint32_t node_id, bool suspend);
598 uint32_t node_id,
602 uint32_t node_id,
606 uint32_t node_id, bool pkt_mode);
619 uint32_t node_id);
628 uint32_t node_id, bool clear,
646 int __roc_api roc_nix_tm_node_lvl(struct roc_nix *roc_nix, uint32_t node_id);
652 uint32_t node_id, char *buf,
/dpdk/examples/server_node_efd/server/
H A Dinit.c224 uint64_t node_id; in populate_efd_table() local
228 node_id = i % num_nodes; in populate_efd_table()
232 (void *)&ip_dst, (efd_value_t)node_id); in populate_efd_table()

12