| /dpdk/lib/gpudev/ |
| H A D | gpudev.c | 25 ((function != 0) ? -(rte_errno = EPERM) : (rte_errno = 0)) 55 rte_errno = EINVAL; in rte_gpu_init() 56 return -rte_errno; in rte_gpu_init() 62 rte_errno = EBUSY; in rte_gpu_init() 63 return -rte_errno; in rte_gpu_init() 69 rte_errno = ENOMEM; in rte_gpu_init() 70 return -rte_errno; in rte_gpu_init() 142 rte_errno = EINVAL; in rte_gpu_get_by_name() 170 return -rte_errno; in gpu_shared_mem_init() 185 rte_errno = EPERM; in rte_gpu_allocate() [all …]
|
| /dpdk/drivers/gpu/cuda/ |
| H A D | cuda.c | 601 return -rte_errno; in cuda_dev_info_get() 723 rte_errno = EPERM; in cuda_mem_alloc() 724 return -rte_errno; in cuda_mem_alloc() 734 rte_errno = EPERM; in cuda_mem_alloc() 735 return -rte_errno; in cuda_mem_alloc() 741 rte_errno = EPERM; in cuda_mem_alloc() 742 return -rte_errno; in cuda_mem_alloc() 755 rte_errno = EPERM; in cuda_mem_alloc() 756 return -rte_errno; in cuda_mem_alloc() 997 rte_errno = EPERM; in cuda_mem_unregister() [all …]
|
| /dpdk/drivers/net/mlx5/windows/ |
| H A D | mlx5_flow_os.h | 98 return -rte_errno; in mlx5_flow_os_create_flow_tbl() 145 return -rte_errno; in mlx5_flow_os_create_flow_action_packet_reformat() 179 return -rte_errno; in mlx5_flow_os_create_flow_action_modify_header() 199 return -rte_errno; in mlx5_flow_os_create_flow_action_dest_flow_tbl() 223 return -rte_errno; in mlx5_flow_os_create_flow_action_dest_port() 247 return -rte_errno; in mlx5_flow_os_create_flow_action_push_vlan() 271 return -rte_errno; in mlx5_flow_os_create_flow_action_count() 291 return -rte_errno; in mlx5_flow_os_create_flow_action_tag() 308 return -rte_errno; in mlx5_flow_os_create_flow_action_drop() 347 return -rte_errno; in mlx5_os_flow_dr_create_flow_action_sampler() [all …]
|
| /dpdk/app/test/ |
| H A D | test_fbarray.c | 113 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 116 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 120 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno valuey\n"); in test_invalid() 123 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 126 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 129 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 132 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 136 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 140 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() 143 TEST_ASSERT_EQUAL(rte_errno, EINVAL, "Wrong errno value\n"); in test_invalid() [all …]
|
| H A D | test_external_mem.c | 105 rte_errno != EINVAL) { in test_malloc_invalid_param() 118 rte_errno != EINVAL) { in test_malloc_invalid_param() 125 rte_errno != EINVAL) { in test_malloc_invalid_param() 131 rte_errno != EINVAL) { in test_malloc_invalid_param() 147 rte_errno != ENOENT) { in test_malloc_invalid_param() 161 rte_errno != ENOENT) { in test_malloc_invalid_param() 168 rte_errno != ENOENT) { in test_malloc_invalid_param() 174 rte_errno != ENOENT) { in test_malloc_invalid_param() 196 rte_errno != EINVAL) { in test_malloc_invalid_param() 203 rte_errno != EINVAL) { in test_malloc_invalid_param() [all …]
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_devx.c | 95 return -rte_errno; in mlx5_devx_cq_create() 148 ret = rte_errno; in mlx5_devx_cq_create() 153 rte_errno = ret; in mlx5_devx_cq_create() 265 ret = rte_errno; in mlx5_devx_sq_create() 270 rte_errno = ret; in mlx5_devx_sq_create() 406 ret = rte_errno; in mlx5_devx_qp_create() 411 rte_errno = ret; in mlx5_devx_qp_create() 506 ret = rte_errno; in mlx5_devx_wq_init() 725 rte_errno); in mlx5_devx_qp2rts() 731 rte_errno); in mlx5_devx_qp2rts() [all …]
|
| /dpdk/lib/eal/common/ |
| H A D | eal_common_interrupts.c | 19 rte_errno = EINVAL; \ 41 rte_errno = EINVAL; in rte_intr_instance_alloc() 52 rte_errno = ENOMEM; in rte_intr_instance_alloc() 65 rte_errno = ENOMEM; in rte_intr_instance_alloc() 79 rte_errno = ENOMEM; in rte_intr_instance_alloc() 170 return -rte_errno; in rte_intr_event_list_update() 196 return -rte_errno; in rte_intr_fd_set() 217 return -rte_errno; in rte_intr_type_set() 238 return -rte_errno; in rte_intr_dev_fd_set() 267 return -rte_errno; in rte_intr_max_intr_set() [all …]
|
| H A D | eal_common_memalloc.c | 153 rte_errno = EINVAL; in eal_memalloc_mem_event_callback_register() 158 rte_errno = EINVAL; in eal_memalloc_mem_event_callback_register() 168 rte_errno = EEXIST; in eal_memalloc_mem_event_callback_register() 175 rte_errno = ENOMEM; in eal_memalloc_mem_event_callback_register() 203 rte_errno = EINVAL; in eal_memalloc_mem_event_callback_unregister() 208 rte_errno = EINVAL; in eal_memalloc_mem_event_callback_unregister() 218 rte_errno = ENOENT; in eal_memalloc_mem_event_callback_unregister() 259 rte_errno = EINVAL; in eal_memalloc_mem_alloc_validator_register() 264 rte_errno = EINVAL; in eal_memalloc_mem_alloc_validator_register() 274 rte_errno = EEXIST; in eal_memalloc_mem_alloc_validator_register() [all …]
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_flow.c | 165 return -rte_errno; in cons_parse_ntuple_filter() 172 return -rte_errno; in cons_parse_ntuple_filter() 178 return -rte_errno; in cons_parse_ntuple_filter() 198 return -rte_errno; in cons_parse_ntuple_filter() 229 return -rte_errno; in cons_parse_ntuple_filter() 241 return -rte_errno; in cons_parse_ntuple_filter() 251 return -rte_errno; in cons_parse_ntuple_filter() 359 return -rte_errno; in cons_parse_ntuple_filter() 374 return -rte_errno; in cons_parse_ntuple_filter() 383 return -rte_errno; in cons_parse_ntuple_filter() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_trigger.c | 71 rte_errno = ENOMEM; in mlx5_txq_start() 90 rte_errno = ENOMEM; in mlx5_txq_start() 105 return -rte_errno; in mlx5_txq_start() 177 return -rte_errno; in mlx5_rxq_ctrl_prepare() 189 rte_errno = ENOMEM; in mlx5_rxq_ctrl_prepare() 190 return -rte_errno; in mlx5_rxq_ctrl_prepare() 216 return -rte_errno; in mlx5_rxq_start() 249 return -rte_errno; in mlx5_rxq_start() 365 return -rte_errno; in mlx5_hairpin_auto_bind() 395 rte_errno = EBUSY; in mlx5_hairpin_queue_peer_update() [all …]
|
| H A D | mlx5_rss.c | 41 rte_errno = EINVAL; in mlx5_rss_hash_update() 42 return -rte_errno; in mlx5_rss_hash_update() 50 rte_errno = EINVAL; in mlx5_rss_hash_update() 51 return -rte_errno; in mlx5_rss_hash_update() 58 rte_errno = ENOMEM; in mlx5_rss_hash_update() 59 return -rte_errno; in mlx5_rss_hash_update() 97 rte_errno = EINVAL; in mlx5_rss_hash_conf_get() 98 return -rte_errno; in mlx5_rss_hash_conf_get() 136 return -rte_errno; in mlx5_rss_reta_index_resize() 171 return -rte_errno; in mlx5_dev_rss_reta_query() [all …]
|
| H A D | mlx5_rxq.c | 100 rte_errno = ENOMEM; in rxq_alloc_elts_mprq() 124 return -rte_errno; in rxq_alloc_elts_mprq() 163 rte_errno = ENOMEM; in rxq_alloc_elts_sprq() 234 return -rte_errno; in rxq_alloc_elts_sprq() 417 return -rte_errno; in mlx5_rxq_releasable() 489 rte_errno = errno; in mlx5_rx_queue_stop_primary() 575 rte_errno = errno; in mlx5_rx_queue_start_primary() 1481 ret = rte_errno; in mlx5_mprq_alloc_mp() 1485 rte_errno = ret; in mlx5_mprq_alloc_mp() 2850 err = rte_errno; in mlx5_hrxq_modify() [all …]
|
| H A D | mlx5_mac.c | 61 rte_errno = EINVAL; in mlx5_internal_mac_addr_add() 62 return -rte_errno; in mlx5_internal_mac_addr_add() 72 rte_errno = EADDRINUSE; in mlx5_internal_mac_addr_add() 73 return -rte_errno; in mlx5_internal_mac_addr_add() 103 dev->data->port_id, strerror(rte_errno)); in mlx5_mac_addr_remove() 129 rte_errno = EINVAL; in mlx5_mac_addr_add() 130 return -rte_errno; in mlx5_mac_addr_add() 181 rte_errno = -ENOTSUP; in mlx5_mac_addr_set() 182 return rte_errno; in mlx5_mac_addr_set() 203 rte_errno = ENOSPC; in mlx5_set_mc_addr_list() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_flow.c | 199 return -rte_errno; in cons_parse_ntuple_filter() 206 return -rte_errno; in cons_parse_ntuple_filter() 212 return -rte_errno; in cons_parse_ntuple_filter() 232 return -rte_errno; in cons_parse_ntuple_filter() 263 return -rte_errno; in cons_parse_ntuple_filter() 275 return -rte_errno; in cons_parse_ntuple_filter() 398 return -rte_errno; in cons_parse_ntuple_filter() 413 return -rte_errno; in cons_parse_ntuple_filter() 422 return -rte_errno; in cons_parse_ntuple_filter() 540 return -rte_errno; in cons_parse_ntuple_filter() [all …]
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_flow.c | 113 return -rte_errno; in cons_parse_ntuple_filter() 120 return -rte_errno; in cons_parse_ntuple_filter() 126 return -rte_errno; in cons_parse_ntuple_filter() 140 return -rte_errno; in cons_parse_ntuple_filter() 150 return -rte_errno; in cons_parse_ntuple_filter() 157 return -rte_errno; in cons_parse_ntuple_filter() 175 return -rte_errno; in cons_parse_ntuple_filter() 182 return -rte_errno; in cons_parse_ntuple_filter() 201 return -rte_errno; in cons_parse_ntuple_filter() 223 return -rte_errno; in cons_parse_ntuple_filter() [all …]
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_intr.c | 74 rte_errno = ENOMEM; in mlx4_rx_intr_vec_enable() 77 return -rte_errno; in mlx4_rx_intr_vec_enable() 91 rte_errno = E2BIG; in mlx4_rx_intr_vec_enable() 96 return -rte_errno; in mlx4_rx_intr_vec_enable() 112 return -rte_errno; in mlx4_rx_intr_vec_enable() 171 return -rte_errno; in mlx4_link_status_check() 274 rte_errno = err; in mlx4_intr_uninstall() 304 rte_errno = -rc; in mlx4_intr_install() 348 rte_errno = ret; in mlx4_rx_intr_disable() 378 rte_errno = ret; in mlx4_rx_intr_enable() [all …]
|
| H A D | mlx4_ethdev.c | 74 rte_errno = errno; in mlx4_get_ifname() 75 return -rte_errno; in mlx4_get_ifname() 127 rte_errno = ENODEV; in mlx4_get_ifname() 128 return -rte_errno; in mlx4_get_ifname() 154 rte_errno = errno; in mlx4_ifreq() 155 return -rte_errno; in mlx4_ifreq() 159 rte_errno = errno; in mlx4_ifreq() 160 ret = -rte_errno; in mlx4_ifreq() 561 rte_errno, strerror(rte_errno), error.type, error.cause, in mlx4_set_mc_addr_list() 603 rte_errno, strerror(rte_errno), error.type, error.cause, in mlx4_vlan_filter_set() [all …]
|
| H A D | mlx4_txq.c | 95 rte_errno = ENXIO; in txq_uar_init_secondary() 96 return -rte_errno; in txq_uar_init_secondary() 158 return -rte_errno; in mlx4_tx_uar_init_secondary() 188 rte_errno = ENOTSUP; in mlx4_tx_uar_init_secondary() 189 return -rte_errno; in mlx4_tx_uar_init_secondary() 446 rte_errno = ret; in mlx4_tx_queue_setup() 458 rte_errno = ret; in mlx4_tx_queue_setup() 470 rte_errno = ret; in mlx4_tx_queue_setup() 514 ret = rte_errno; in mlx4_tx_queue_setup() 516 rte_errno = ret; in mlx4_tx_queue_setup() [all …]
|
| H A D | mlx4_mp.c | 66 rte_errno = ENODEV; in mp_primary_handle() 68 return -rte_errno; in mp_primary_handle() 88 rte_errno = EINVAL; in mp_primary_handle() 90 return -rte_errno; in mp_primary_handle() 121 rte_errno = ENODEV; in mp_secondary_handle() 123 return -rte_errno; in mp_secondary_handle() 161 rte_errno = EINVAL; in mp_secondary_handle() 163 return -rte_errno; in mp_secondary_handle() 282 return -rte_errno; in mlx4_mp_req_mr_create() 289 rte_errno = -ret; in mlx4_mp_req_mr_create() [all …]
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_common_auxiliary.c | 31 rte_errno = errno; in mlx5_auxiliary_get_child_name() 32 return -rte_errno; in mlx5_auxiliary_get_child_name() 41 rte_errno = ENOENT; in mlx5_auxiliary_get_child_name() 42 return -rte_errno; in mlx5_auxiliary_get_child_name() 45 return -rte_errno; in mlx5_auxiliary_get_child_name() 58 rte_errno = errno; in mlx5_auxiliary_get_pci_path() 59 return -rte_errno; in mlx5_auxiliary_get_pci_path() 63 rte_errno = errno; in mlx5_auxiliary_get_pci_path() 64 return -rte_errno; in mlx5_auxiliary_get_pci_path() 67 return -rte_errno; in mlx5_auxiliary_get_pci_path() [all …]
|
| H A D | mlx5_common_os.c | 42 rte_errno = errno; in mlx5_get_pci_addr() 43 return -rte_errno; in mlx5_get_pci_addr() 75 rte_errno = -rc; in mlx5_get_pci_addr() 171 rte_errno = errno; in mlx5_get_ifname_sysfs() 172 return -rte_errno; in mlx5_get_ifname_sysfs() 224 rte_errno = ENOENT; in mlx5_get_ifname_sysfs() 225 return -rte_errno; in mlx5_get_ifname_sysfs() 429 return -rte_errno; in mlx5_os_remote_pd_and_ctx_validate() 434 return -rte_errno; in mlx5_os_remote_pd_and_ctx_validate() 531 rte_errno = -ret; in mlx5_os_pd_prepare() [all …]
|
| /dpdk/lib/eal/freebsd/ |
| H A D | eal.c | 623 rte_errno = EINVAL; in rte_eal_init() 637 rte_errno = EINVAL; in rte_eal_init() 644 rte_errno = EFAULT; in rte_eal_init() 650 rte_errno = ENODEV; in rte_eal_init() 684 rte_errno = ENODEV; in rte_eal_init() 698 rte_errno = EINVAL; in rte_eal_init() 753 rte_errno = ENODEV; in rte_eal_init() 759 rte_errno = ENOMEM; in rte_eal_init() 765 rte_errno = ENODEV; in rte_eal_init() 839 rte_errno = -ret; in rte_eal_init() [all …]
|
| /dpdk/lib/eal/windows/ |
| H A D | eal_file.c | 28 rte_errno = ENOTSUP; in eal_file_open() 37 rte_errno = errno; in eal_file_open() 54 rte_errno = EBADF; in eal_file_truncate() 61 rte_errno = EINVAL; in eal_file_truncate() 83 rte_errno = EWOULDBLOCK; in lock_file() 86 rte_errno = EINVAL; in lock_file() 99 rte_errno = EINVAL; in unlock_file() 111 rte_errno = EBADF; in eal_file_lock() 122 rte_errno = EINVAL; in eal_file_lock()
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_verbs.c | 105 rte_errno = errno; in mlx5_ibv_modify_qp() 118 rte_errno = errno; in mlx5_ibv_modify_qp() 126 rte_errno = errno; in mlx5_ibv_modify_qp() 134 rte_errno = errno; in mlx5_ibv_modify_qp() 356 rte_errno = ret; in mlx5_rxq_ibv_obj_new() 390 rte_errno = ret; in mlx5_rxq_ibv_obj_new() 397 rte_errno = ret; in mlx5_rxq_ibv_obj_new() 417 return -rte_errno; in mlx5_rxq_ibv_obj_new() 469 return -rte_errno; in mlx5_rx_ibv_get_event() 630 return -rte_errno; in mlx5_ibv_hrxq_new() [all …]
|
| /dpdk/lib/mbuf/ |
| H A D | rte_mbuf_dyn.c | 179 rte_errno = ENOENT; in __mbuf_dynfield_lookup() 239 rte_errno = EEXIST; in __rte_mbuf_dynfield_register_offset() 250 rte_errno = EPERM; in __rte_mbuf_dynfield_register_offset() 275 rte_errno = EBUSY; in __rte_mbuf_dynfield_register_offset() 286 rte_errno = ENOMEM; in __rte_mbuf_dynfield_register_offset() 293 rte_errno = ENOMEM; in __rte_mbuf_dynfield_register_offset() 329 rte_errno = EINVAL; in rte_mbuf_dynfield_register_offset() 333 rte_errno = EINVAL; in rte_mbuf_dynfield_register_offset() 337 rte_errno = EINVAL; in rte_mbuf_dynfield_register_offset() 373 rte_errno = ENOENT; in __mbuf_dynflag_lookup() [all …]
|