Home
last modified time | relevance | path

Searched refs:port_name (Results 1 – 13 of 13) sorted by relevance

/dpdk/examples/ip_pipeline/
H A Dtmgr.c256 tmgr_subport_config(const char *port_name, in tmgr_subport_config() argument
264 if (port_name == NULL) in tmgr_subport_config()
267 port = tmgr_port_find(port_name); in tmgr_subport_config()
284 tmgr_pipe_config(const char *port_name, in tmgr_pipe_config() argument
294 if (port_name == NULL) in tmgr_pipe_config()
297 port = tmgr_port_find(port_name); in tmgr_pipe_config()
H A Dtmgr.h63 tmgr_subport_config(const char *port_name,
68 tmgr_pipe_config(const char *port_name,
/dpdk/drivers/net/nfp/
H A Dnfp_ethdev.c722 char port_name[RTE_ETH_NAME_MAX_LEN]; in nfp_init_phyports() local
724 snprintf(port_name, sizeof(port_name), "%s_port%d", in nfp_init_phyports()
728 eth_dev = rte_eth_dev_allocate(port_name); in nfp_init_phyports()
736 rte_zmalloc_socket(port_name, sizeof(struct nfp_net_hw), in nfp_init_phyports()
987 char port_name[RTE_ETH_NAME_MAX_LEN]; in nfp_pf_secondary_init() local
989 snprintf(port_name, sizeof(port_name), "%s_port%d", in nfp_pf_secondary_init()
993 port_name); in nfp_pf_secondary_init()
994 eth_dev = rte_eth_dev_attach_secondary(port_name); in nfp_pf_secondary_init()
/dpdk/examples/qos_sched/
H A Dinit.c306 static char port_name[32]; /* static as referenced from global port_params*/ in app_init_sched_port() local
320 snprintf(port_name, sizeof(port_name), "port_%d", portid); in app_init_sched_port()
321 port_params.name = port_name; in app_init_sched_port()
/dpdk/drivers/net/tap/
H A Drte_eth_tap.c123 char port_name[RTE_DEV_NAME_MAX_LEN]; member
896 strlcpy(request_param->port_name, dev->data->name, sizeof(request_param->port_name)); in tap_mp_req_on_rxtx()
953 dev = rte_eth_dev_get_by_name(request_param->port_name); in tap_mp_req_start_rxtx()
956 request_param->port_name); in tap_mp_req_start_rxtx()
2377 tap_mp_attach_queues(const char *port_name, struct rte_eth_dev *dev) in tap_mp_attach_queues() argument
2391 strlcpy(request_param->port_name, port_name, in tap_mp_attach_queues()
2392 sizeof(request_param->port_name)); in tap_mp_attach_queues()
2437 dev = rte_eth_dev_get_by_name(request_param->port_name); in tap_mp_sync_queues()
2440 request_param->port_name); in tap_mp_sync_queues()
2469 strlcpy(reply_param->port_name, request_param->port_name, in tap_mp_sync_queues()
[all …]
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c951 if (!(spawn->info.port_name == -1 && in mlx5_representor_match()
961 if (!(spawn->info.port_name == -1 && in mlx5_representor_match()
1050 switch_info->port_name); in mlx5_dev_spawn()
1063 switch_info->port_name); in mlx5_dev_spawn()
1254 switch_info->port_name + 1 : -1; in mlx5_dev_spawn()
1693 return si_a->port_name - si_b->port_name; in mlx5_dev_spawn_data_cmp()
1796 if (info.port_name >= MLX5_BOND_MAX_PORTS) { in mlx5_device_bond_pci_match()
1830 owner == info.port_name && in mlx5_device_bond_pci_match()
1833 pf = info.port_name; in mlx5_device_bond_pci_match()
1841 pf = info.port_name; in mlx5_device_bond_pci_match()
[all …]
H A Dmlx5_ethdev_os.c1108 char port_name[IF_NAMESIZE]; in mlx5_sysfs_switch_info() local
1114 .port_name = 0, in mlx5_sysfs_switch_info()
1137 ret = fscanf(file, "%" RTE_STR(IF_NAMESIZE) "s", port_name); in mlx5_sysfs_switch_info()
1140 mlx5_translate_port_name(port_name, &data); in mlx5_sysfs_switch_info()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_common_os.c109 &vf_c1, &vf_c2, &port_info_out->port_name, &eol); in mlx5_translate_port_name()
129 &pf_c1, &port_info_out->port_name, &eol); in mlx5_translate_port_name()
141 port_info_out->port_name = -1; in mlx5_translate_port_name()
147 port_info_out->port_name = strtol(port_name_in, &end, 0); in mlx5_translate_port_name()
H A Dmlx5_nl.c1298 .port_name = 0, in mlx5_nl_switch_info_cb()
/dpdk/drivers/net/af_xdp/
H A Drte_eth_af_xdp.c88 char port_name[RTE_DEV_NAME_MAX_LEN]; member
1857 strlcpy(request_param->port_name, name, in afxdp_mp_request_fds()
1858 sizeof(request_param->port_name)); in afxdp_mp_request_fds()
1895 const char *request_name = request_param->port_name; in afxdp_mp_send_fds()
1922 strlcpy(reply_param->port_name, request_name, in afxdp_mp_send_fds()
1923 sizeof(reply_param->port_name)); in afxdp_mp_send_fds()
1926 reply_param->port_name); in afxdp_mp_send_fds()
/dpdk/drivers/net/memif/
H A Drte_eth_memif.c78 char port_name[RTE_DEV_NAME_MAX_LEN]; member
93 dev = rte_eth_dev_get_by_name(msg_param->port_name); in memif_mp_send_region()
96 msg_param->port_name); in memif_mp_send_region()
144 strlcpy(msg_param->port_name, dev->data->name, in memif_mp_request_regions()
145 sizeof(msg_param->port_name)); in memif_mp_request_regions()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common.h170 int32_t port_name; /**< Representor port name. */ member
/dpdk/drivers/net/mlx5/
H A Dmlx5_ethdev.c399 uint16_t repr = info->port_name; in mlx5_representor_id_encode()