Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 26) sorted by relevance

12

/dpdk/drivers/net/failsafe/
H A Dfailsafe_eal.c14 uint16_t pid; in fs_ethdev_portid_get() local
22 for (pid = 0; pid < RTE_MAX_ETHPORTS; pid++) { in fs_ethdev_portid_get()
23 if (rte_eth_dev_is_valid_port(pid) && in fs_ethdev_portid_get()
25 *port_id = pid; in fs_ethdev_portid_get()
38 uint16_t pid; in fs_bus_init() local
45 if (fs_ethdev_portid_get(da->name, &pid) != 0) { in fs_bus_init()
66 rte_eth_dev_owner_get(pid, &pid_owner); in fs_bus_init()
79 rte_eth_devices[pid].device->devargs; in fs_bus_init()
89 rte_eth_devices[pid].device->name, in fs_bus_init()
110 rte_eth_dev_owner_unset(pid, in fs_bus_init()
[all …]
H A Dfailsafe_intr.c270 uint16_t pid; in failsafe_eth_rx_intr_ctl_subdevice() local
284 pid = PORT_ID(sdev); in failsafe_eth_rx_intr_ctl_subdevice()
301 rc = rte_eth_dev_rx_intr_ctl_q(pid, qid, epfd, in failsafe_eth_rx_intr_ctl_subdevice()
306 pid, qid, epfd, rc); in failsafe_eth_rx_intr_ctl_subdevice()
/dpdk/lib/latencystats/
H A Drte_latencystats.c215 uint16_t pid; in rte_latencystats_init() local
261 RTE_ETH_FOREACH_DEV(pid) { in rte_latencystats_init()
268 pid, strerror(-ret)); in rte_latencystats_init()
274 cbs = &rx_cbs[pid][qid]; in rte_latencystats_init()
280 "qid=%d\n", pid, qid); in rte_latencystats_init()
283 cbs = &tx_cbs[pid][qid]; in rte_latencystats_init()
289 "qid=%d\n", pid, qid); in rte_latencystats_init()
298 uint16_t pid; in rte_latencystats_uninit() local
305 RTE_ETH_FOREACH_DEV(pid) { in rte_latencystats_uninit()
312 pid, strerror(-ret)); in rte_latencystats_uninit()
[all …]
/dpdk/app/test/
H A Dtest_debug.c39 int pid; in test_panic() local
42 pid = fork(); in test_panic()
44 if (pid == 0) { in test_panic()
51 } else if (pid < 0) { in test_panic()
69 int pid; in test_exit_val() local
77 pid = fork(); in test_exit_val()
79 if (pid == 0) in test_exit_val()
81 else if (pid < 0){ in test_exit_val()
H A Dprocess.h57 pid_t pid = fork(); in process_dup() local
58 if (pid < 0) in process_dup()
60 else if (pid == 0) { in process_dup()
148 while (wait(&status) != pid) in process_dup()
H A Dtest_kni.c129 int pid; in test_kni_link_change() local
131 pid = fork(); in test_kni_link_change()
132 if (pid < 0) { in test_kni_link_change()
137 if (pid == 0) { in test_kni_link_change()
186 p_ret = waitpid(pid, &status, WNOHANG); in test_kni_link_change()
304 int pid; in test_kni_register_handler_mp() local
306 pid = fork(); in test_kni_register_handler_mp()
307 if (pid < 0) { in test_kni_register_handler_mp()
310 } else if (pid == 0) { in test_kni_register_handler_mp()
H A Dtest_mbuf.c1180 int pid; in verify_mbuf_check_panics() local
1183 pid = fork(); in verify_mbuf_check_panics()
1185 if (pid == 0) { in verify_mbuf_check_panics()
1193 } else if (pid < 0) { in verify_mbuf_check_panics()
/dpdk/app/test-pmd/
H A Dtestpmd.c1254 *pid = pi; in get_allowed_max_nb_rxq()
1302 *pid = pi; in get_allowed_max_nb_txq()
1348 *pid = pi; in get_allowed_max_nb_rxd()
1372 *pid = pi; in get_allowed_min_nb_rxd()
1430 *pid = pi; in get_allowed_max_nb_txd()
1454 *pid = pi; in get_allowed_min_nb_txd()
2738 if (pid != pi && pid != (portid_t)RTE_PORT_ALL) in start_port()
3035 if (pid != pi && pid != (portid_t)RTE_PORT_ALL) in stop_port()
3128 if (pid != pi && pid != (portid_t)RTE_PORT_ALL) in close_port()
3184 if (pid != pi && pid != (portid_t)RTE_PORT_ALL) in reset_port()
[all …]
H A Dtestpmd.h1039 void dev_set_link_up(portid_t pid);
1040 void dev_set_link_down(portid_t pid);
1046 int init_port_dcb_config(portid_t pid, enum dcb_mode_enable dcb_mode,
1049 int start_port(portid_t pid);
1050 void stop_port(portid_t pid);
1051 void close_port(portid_t pid);
1052 void reset_port(portid_t pid);
1128 queueid_t get_allowed_max_nb_rxq(portid_t *pid);
1130 queueid_t get_allowed_max_nb_txq(portid_t *pid);
1134 queueid_t get_allowed_max_nb_hairpinq(portid_t *pid);
H A Dparameters.c589 portid_t pid; in launch_args_parse() local
1112 get_allowed_max_nb_rxq(&pid)); in launch_args_parse()
1121 get_allowed_max_nb_txq(&pid)); in launch_args_parse()
1132 (&pid)); in launch_args_parse()
1139 get_allowed_max_nb_txq(&pid)); in launch_args_parse()
1146 get_allowed_max_nb_rxq(&pid)); in launch_args_parse()
H A Dconfig.c1028 uint16_t pid; in port_id_is_invalid() local
1033 RTE_ETH_FOREACH_DEV(pid) in port_id_is_invalid()
1034 if (port_id == pid) in port_id_is_invalid()
1045 portid_t pid; in print_valid_ports() local
1048 RTE_ETH_FOREACH_DEV(pid) { in print_valid_ports()
1049 printf(" %d", pid); in print_valid_ports()
3599 portid_t pid; in rxtx_config_display() local
4161 portid_t pid; in dcb_fwd_config_setup() local
4173 for (pid = 0; pid < nb_fwd_ports; pid++) { in dcb_fwd_config_setup()
4177 port = &ports[pid]; in dcb_fwd_config_setup()
[all …]
H A Dcmdline.c1550 portid_t pid; in cmd_config_speed_all_parsed() local
1561 RTE_ETH_FOREACH_DEV(pid) { in cmd_config_speed_all_parsed()
1695 portid_t pid; in cmd_config_loopback_all_parsed() local
1702 RTE_ETH_FOREACH_DEV(pid) { in cmd_config_loopback_all_parsed()
1980 portid_t pid; in cmd_config_max_lro_pkt_size_parsed() local
1987 RTE_ETH_FOREACH_DEV(pid) { in cmd_config_max_lro_pkt_size_parsed()
1988 struct rte_port *port = &ports[pid]; in cmd_config_max_lro_pkt_size_parsed()
18152 portid_t pid; in cmd_reconfig_device_queue() local
18154 RTE_ETH_FOREACH_DEV(pid) { in cmd_reconfig_device_queue()
18156 if (ports[pid].need_reconfig == 0) in cmd_reconfig_device_queue()
[all …]
/dpdk/lib/graph/
H A Dgraph_populate.c71 rte_node_t pid; in graph_nodes_populate() local
80 pid = graph_node->node->parent_id; in graph_nodes_populate()
81 if (pid != RTE_NODE_ID_INVALID) { /* Cloned node */ in graph_nodes_populate()
82 parent = rte_node_id_to_name(pid); in graph_nodes_populate()
86 node->parent_id = pid; in graph_nodes_populate()
/dpdk/usertools/
H A Ddpdk-telemetry.py40 def get_app_name(pid): argument
42 proc_cmdline = os.path.join('/proc', str(pid), 'cmdline')
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c2190 uint32_t pid; in ulp_rte_parser_act_port_set() local
2207 pid = pid_s; in ulp_rte_parser_act_port_set()
2208 pid = rte_cpu_to_be_32(pid); in ulp_rte_parser_act_port_set()
2210 &pid, BNXT_ULP_ACT_PROP_SZ_VPORT); in ulp_rte_parser_act_port_set()
2232 pid = pid_s; in ulp_rte_parser_act_port_set()
2233 pid = rte_cpu_to_be_32(pid); in ulp_rte_parser_act_port_set()
2235 &pid, BNXT_ULP_ACT_PROP_SZ_VNIC); in ulp_rte_parser_act_port_set()
2398 uint32_t pid; in ulp_rte_phy_port_act_handler() local
2429 pid = pid_s; in ulp_rte_phy_port_act_handler()
2430 pid = rte_cpu_to_be_32(pid); in ulp_rte_phy_port_act_handler()
[all …]
/dpdk/lib/ipsec/
H A Diph.h244 const void *inh, uint32_t plen, uint32_t l2len, rte_be16_t pid) in update_tun_outb_l3hdr() argument
253 v4h->packet_id = pid; in update_tun_outb_l3hdr()
/dpdk/lib/metrics/
H A Drte_metrics_telemetry.c154 rte_metrics_tel_format_port(uint32_t pid, json_t *ports, in rte_metrics_tel_format_port() argument
180 rte_metrics_get_values(pid, metrics, num_metrics) in rte_metrics_tel_format_port()
211 port = json_pack("{s,i,s,o}", "port", pid, "stats", in rte_metrics_tel_format_port()
/dpdk/lib/ethdev/
H A Dethdev_driver.c343 uint16_t pid; in rte_eth_dev_get_by_name() local
345 if (rte_eth_dev_get_port_by_name(name, &pid)) in rte_eth_dev_get_by_name()
348 return &rte_eth_devices[pid]; in rte_eth_dev_get_by_name()
H A Drte_ethdev.c630 uint16_t pid; in rte_eth_dev_get_port_by_name() local
643 RTE_ETH_FOREACH_VALID_DEV(pid) in rte_eth_dev_get_port_by_name()
644 if (!strcmp(name, eth_dev_shared_data->data[pid].name)) { in rte_eth_dev_get_port_by_name()
645 *port_id = pid; in rte_eth_dev_get_port_by_name()
/dpdk/examples/kni/
H A Dmain.c1040 int pid; in main() local
1098 pid = getpid(); in main()
1101 RTE_LOG(INFO, APP, "kill -SIGUSR1 %d\n", pid); in main()
1103 RTE_LOG(INFO, APP, "kill -SIGUSR2 %d\n", pid); in main()
/dpdk/doc/guides/nics/
H A Dhinic.rst45 …`<https://support.huawei.com/enterprise/en/intelligent-accelerator-components/in500-solution-pid-2…
/dpdk/doc/guides/howto/
H A Dtelemetry.rst54 {"version": "DPDK 20.05.0-rc2", "pid": 60285, "max_output_len": 16384}
/dpdk/drivers/net/ionic/
H A Dionic_if.h594 __le16 pid; member
1192 __le16 pid; member
/dpdk/drivers/net/enic/
H A Denic_fm_flow.c3357 uint16_t pid; in enic_fm_allocate_switch_domain() local
3366 RTE_ETH_FOREACH_DEV(pid) { in enic_fm_allocate_switch_domain()
3367 dev = &rte_eth_devices[pid]; in enic_fm_allocate_switch_domain()
/dpdk/drivers/net/ice/base/
H A Dice_flex_pipe.c3845 struct ice_prof_id_section *pid; in ice_fill_tbl() local
3899 pid = (struct ice_prof_id_section *)sect; in ice_fill_tbl()
3900 src = (u8 *)pid->entry; in ice_fill_tbl()
3901 sect_len = LE16_TO_CPU(pid->count) * in ice_fill_tbl()

12