| /dpdk/app/test/ |
| H A D | test_link_bonding_mode4.c | 226 int retval; in add_slave() local 352 int retval; in remove_slaves_and_stop_bonded_device() local 560 for (i = RTE_MAX(0, retval); retval < lacp_tx_buf_cnt; retval++) in bond_handshake_reply() 774 if (retval > 0 && retval != count) in generate_packets() 775 free_pkts(&buf[count - retval], retval); in generate_packets() 796 if (retval > 0 && retval != count) in generate_and_put_packets() 797 free_pkts(&pkts[retval], count - retval); in generate_and_put_packets() 1035 if (retval > 0 && retval < pkts_cnt) in test_mode4_tx_burst() 1036 free_pkts(&pkts[retval], pkts_cnt - retval); in test_mode4_tx_burst() 1109 if (retval > 0 && retval < pkts_cnt) in test_mode4_tx_burst() [all …]
|
| H A D | test_link_bonding_rssconf.c | 331 int retval = 0; in test_propagate() local 337 TEST_ASSERT((retval == 0), in test_propagate() 339 test_params.bond_port_id, strerror(-retval)); in test_propagate() 361 TEST_ASSERT_SUCCESS(retval, in test_propagate() 403 TEST_ASSERT_SUCCESS(retval, in test_propagate() 513 int retval; in test_setup() local 536 retval = rte_vdev_init(name, "size=64,copy=0"); in test_setup() 555 TEST_ASSERT((retval == 0), in test_setup() 557 test_params.bond_port_id, strerror(-retval)); in test_setup() 566 test_params.bond_port_id = retval; in test_setup() [all …]
|
| H A D | test_eal_fs.c | 32 unsigned long retval = 0; in test_parse_sysfs_value() local 57 if (eal_parse_sysfs_value("/dev/not-quite-null", &retval) == 0) { in test_parse_sysfs_value() 74 if (eal_parse_sysfs_value(filename, &retval) < 0) { in test_parse_sysfs_value() 78 if (retval != valid_number) { in test_parse_sysfs_value() 94 if (eal_parse_sysfs_value(filename, &retval) < 0) { in test_parse_sysfs_value() 98 if (retval != valid_number) { in test_parse_sysfs_value() 114 if (eal_parse_sysfs_value(filename, &retval) == 0) { in test_parse_sysfs_value() 129 if (eal_parse_sysfs_value(filename, &retval) == 0) { in test_parse_sysfs_value() 144 if (eal_parse_sysfs_value(filename, &retval) == 0) { in test_parse_sysfs_value() 158 if (eal_parse_sysfs_value(filename, &retval) == 0) { in test_parse_sysfs_value()
|
| H A D | test_event_eth_rx_adapter.c | 60 int retval; in port_init_common() local 70 if (retval != 0) in port_init_common() 71 return retval; in port_init_common() 81 return retval; in port_init_common() 100 if (retval < 0) in port_init_common() 101 return retval; in port_init_common() 106 if (retval < 0) in port_init_common() 150 int retval; in init_port_rx_intr() local 165 if (retval) in init_port_rx_intr() 188 int retval; in init_ports() local [all …]
|
| H A D | test_event_eth_tx_adapter.c | 62 int retval; in port_init_common() local 74 if (retval != 0) in port_init_common() 75 return retval; in port_init_common() 80 if (retval < 0) in port_init_common() 81 return retval; in port_init_common() 87 if (retval < 0) in port_init_common() 93 if (retval < 0) in port_init_common() 94 return retval; in port_init_common() 99 if (retval < 0) in port_init_common() 100 return retval; in port_init_common() [all …]
|
| /dpdk/examples/skeleton/ |
| H A D | basicfwd.c | 35 int retval; in port_init() local 49 return retval; in port_init() 58 if (retval != 0) in port_init() 59 return retval; in port_init() 62 if (retval != 0) in port_init() 63 return retval; in port_init() 69 if (retval < 0) in port_init() 86 if (retval < 0) in port_init() 87 return retval; in port_init() 93 return retval; in port_init() [all …]
|
| /dpdk/examples/multi_process/client_server_mp/mp_server/ |
| H A D | init.c | 104 int retval; in init_port() local 113 return retval; in init_port() 117 if (retval != 0) in init_port() 118 return retval; in init_port() 124 if (retval < 0) return retval; in init_port() 131 if (retval < 0) return retval; in init_port() 135 if (retval < 0) in init_port() 136 return retval; in init_port() 139 if (retval < 0) return retval; in init_port() 245 int retval; in init() local [all …]
|
| /dpdk/examples/server_node_efd/server/ |
| H A D | init.c | 108 int retval; in init_port() local 114 if (retval != 0) in init_port() 115 return retval; in init_port() 126 if (retval != 0) in init_port() 127 return retval; in init_port() 131 if (retval != 0) in init_port() 132 return retval; in init_port() 154 return retval; in init_port() 157 if (retval < 0) in init_port() 158 return retval; in init_port() [all …]
|
| /dpdk/examples/l2fwd-cat/ |
| H A D | l2fwd-cat.c | 33 int retval; in port_init() local 45 if (retval != 0) in port_init() 46 return retval; in port_init() 49 if (retval != 0) in port_init() 50 return retval; in port_init() 56 if (retval < 0) in port_init() 70 if (retval < 0) in port_init() 71 return retval; in port_init() 76 if (retval < 0) in port_init() 77 return retval; in port_init() [all …]
|
| /dpdk/examples/rxtx_callbacks/ |
| H A D | main.c | 125 int retval; in port_init() local 141 return retval; in port_init() 163 if (retval != 0) in port_init() 164 return retval; in port_init() 167 if (retval != 0) in port_init() 168 return retval; in port_init() 175 if (retval < 0) in port_init() 189 if (retval < 0) in port_init() 190 return retval; in port_init() 221 return retval; in port_init() [all …]
|
| /dpdk/examples/bond/ |
| H A D | main.c | 134 int retval; in slave_port_init() local 146 if (retval != 0) in slave_port_init() 167 if (retval != 0) in slave_port_init() 183 if (retval < 0) in slave_port_init() 193 if (retval < 0) in slave_port_init() 198 if (retval < 0) in slave_port_init() 219 int retval; in bond_port_init() local 231 if (retval < 0) in bond_port_init() 269 if (retval < 0) in bond_port_init() 279 if (retval < 0) in bond_port_init() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_bphy_irq.c | 193 return retval; in roc_bphy_irq_stack_get() 309 return retval; in roc_bphy_irq_handler_set() 332 int retval; in roc_bphy_intr_clear() local 348 if (retval < 0) { in roc_bphy_intr_clear() 358 if (retval < 0) { in roc_bphy_intr_clear() 373 if (retval < 0) in roc_bphy_intr_clear() 389 return retval; in roc_bphy_intr_clear() 397 int retval; in roc_bphy_intr_register() local 407 return retval; in roc_bphy_intr_register() 416 return retval; in roc_bphy_intr_register() [all …]
|
| /dpdk/examples/vmdq/ |
| H A D | main.c | 182 int retval; in port_init() local 196 return retval; in port_init() 210 if (retval < 0) in port_init() 211 return retval; in port_init() 258 return retval; in port_init() 265 if (retval != 0) in port_init() 266 return retval; in port_init() 271 return retval; in port_init() 307 return retval; in port_init() 314 return retval; in port_init() [all …]
|
| /dpdk/examples/vm_power_manager/ |
| H A D | main.c | 59 int retval; in port_init() local 73 return retval; in port_init() 82 if (retval != 0) in port_init() 83 return retval; in port_init() 89 if (retval < 0) in port_init() 90 return retval; in port_init() 99 if (retval < 0) in port_init() 105 if (retval < 0) in port_init() 106 return retval; in port_init() 114 return retval; in port_init() [all …]
|
| /dpdk/examples/multi_process/symmetric_mp/ |
| H A D | main.c | 196 int retval; in smp_port_init() local 215 return retval; in smp_port_init() 249 if (retval < 0) in smp_port_init() 250 return retval; in smp_port_init() 253 if (retval < 0) in smp_port_init() 254 return retval; in smp_port_init() 263 if (retval < 0) in smp_port_init() 264 return retval; in smp_port_init() 279 return retval; in smp_port_init() 282 if (retval < 0) in smp_port_init() [all …]
|
| /dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 196 int retval; in port_init() local 212 return retval; in port_init() 262 if (retval < 0) in port_init() 263 return retval; in port_init() 270 return retval; in port_init() 295 if (retval != 0) in port_init() 296 return retval; in port_init() 301 return retval; in port_init() 335 return retval; in port_init() 342 return retval; in port_init() [all …]
|
| /dpdk/drivers/event/sw/ |
| H A D | event_ring.h | 36 struct rob_ring *retval; in rob_ring_create() local 38 size_t memsize = sizeof(*retval) + in rob_ring_create() 39 (ring_size * sizeof(retval->ring[0])); in rob_ring_create() 41 retval = rte_zmalloc_socket(NULL, memsize, 0, socket_id); in rob_ring_create() 42 if (retval == NULL) in rob_ring_create() 44 retval->ring_size = ring_size; in rob_ring_create() 45 retval->mask = ring_size - 1; in rob_ring_create() 46 retval->size = size; in rob_ring_create() 48 return retval; in rob_ring_create()
|
| /dpdk/examples/distributor/ |
| H A D | main.c | 112 int retval; in port_init() local 126 return retval; in port_init() 145 if (retval != 0) in port_init() 146 return retval; in port_init() 149 if (retval != 0) in port_init() 150 return retval; in port_init() 156 if (retval < 0) in port_init() 171 if (retval < 0) in port_init() 172 return retval; in port_init() 198 return retval; in port_init() [all …]
|
| /dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 178 int retval; in port_init() local 193 return retval; in port_init() 207 if (retval != 0) in port_init() 208 return retval; in port_init() 211 if (retval != 0) in port_init() 212 return retval; in port_init() 224 if (retval < 0) in port_init() 243 if (retval < 0) in port_init() 244 return retval; in port_init() 250 return retval; in port_init() [all …]
|
| /dpdk/examples/eventdev_pipeline/ |
| H A D | pipeline_worker_generic.c | 303 int retval; in port_init() local 315 return retval; in port_init() 341 if (retval != 0) in port_init() 342 return retval; in port_init() 349 if (retval < 0) in port_init() 350 return retval; in port_init() 359 if (retval < 0) in port_init() 360 return retval; in port_init() 369 return retval; in port_init() 378 if (retval != 0) in port_init() [all …]
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_pf.c | 627 int32_t retval; in ngbe_rcv_msg_from_vf() local 633 if (retval) { in ngbe_rcv_msg_from_vf() 635 return retval; in ngbe_rcv_msg_from_vf() 640 return retval; in ngbe_rcv_msg_from_vf() 676 retval = ret_param.retval; in ngbe_rcv_msg_from_vf() 681 if (retval == NGBE_MB_EVENT_PROCEED) in ngbe_rcv_msg_from_vf() 685 if (retval == NGBE_MB_EVENT_PROCEED) in ngbe_rcv_msg_from_vf() 689 if (retval == NGBE_MB_EVENT_PROCEED) in ngbe_rcv_msg_from_vf() 713 retval = NGBE_ERR_MBX; in ngbe_rcv_msg_from_vf() 718 if (retval) in ngbe_rcv_msg_from_vf() [all …]
|
| /dpdk/examples/flow_classify/ |
| H A D | flow_classify.c | 198 int retval; in port_init() local 212 return retval; in port_init() 221 if (retval != 0) in port_init() 222 return retval; in port_init() 228 if (retval < 0) in port_init() 229 return retval; in port_init() 238 if (retval < 0) in port_init() 245 if (retval < 0) in port_init() 246 return retval; in port_init() 251 return retval; in port_init() [all …]
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 767 int32_t retval; in txgbe_rcv_msg_from_vf() local 773 if (retval) { in txgbe_rcv_msg_from_vf() 775 return retval; in txgbe_rcv_msg_from_vf() 780 return retval; in txgbe_rcv_msg_from_vf() 816 retval = ret_param.retval; in txgbe_rcv_msg_from_vf() 821 if (retval == RTE_PMD_TXGBE_MB_EVENT_PROCEED) in txgbe_rcv_msg_from_vf() 825 if (retval == RTE_PMD_TXGBE_MB_EVENT_PROCEED) in txgbe_rcv_msg_from_vf() 829 if (retval == RTE_PMD_TXGBE_MB_EVENT_PROCEED) in txgbe_rcv_msg_from_vf() 853 retval = TXGBE_ERR_MBX; in txgbe_rcv_msg_from_vf() 858 if (retval) in txgbe_rcv_msg_from_vf() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 830 int32_t retval; in ixgbe_rcv_msg_from_vf() local 837 if (retval) { in ixgbe_rcv_msg_from_vf() 839 return retval; in ixgbe_rcv_msg_from_vf() 844 return retval; in ixgbe_rcv_msg_from_vf() 879 retval = ret_param.retval; in ixgbe_rcv_msg_from_vf() 884 if (retval == RTE_PMD_IXGBE_MB_EVENT_PROCEED) in ixgbe_rcv_msg_from_vf() 888 if (retval == RTE_PMD_IXGBE_MB_EVENT_PROCEED) in ixgbe_rcv_msg_from_vf() 893 retval = ixgbe_set_vf_lpe(dev, vf, msgbuf); in ixgbe_rcv_msg_from_vf() 916 retval = IXGBE_ERR_MBX; in ixgbe_rcv_msg_from_vf() 921 if (retval) in ixgbe_rcv_msg_from_vf() [all …]
|
| /dpdk/examples/l2fwd-crypto/ |
| H A D | main.c | 677 if (retval < 0) in initialize_crypto_session() 1233 int retval; in l2fwd_crypto_parse_args_long_options() local 1238 if (retval == 0) in l2fwd_crypto_parse_args_long_options() 1240 return retval; in l2fwd_crypto_parse_args_long_options() 1765 retval = optind-1; in l2fwd_crypto_parse_args() 1768 return retval; in l2fwd_crypto_parse_args() 2321 int retval; in initialize_cryptodevs() local 2362 if (retval < 0) { in initialize_cryptodevs() 2570 if (retval < 0) { in initialize_cryptodevs() 2616 int retval; in initialize_ports() local [all …]
|