| /dpdk/app/test/ |
| H A D | test_fbarray.c | 306 const int last_idx = FBARRAY_TEST_LEN - 1; in check_free() local 324 TEST_ASSERT_EQUAL(rte_fbarray_find_prev_free(¶m.arr, last_idx), in check_free() 325 last_idx, "Free space not found where expected\n"); in check_free() 327 last_idx, "Free space not found where expected\n"); in check_free() 329 last_idx), FBARRAY_TEST_LEN, in check_free() 342 TEST_ASSERT(rte_fbarray_find_prev_used(¶m.arr, last_idx) < 0, in check_free() 349 last_idx), 0, in check_free() 358 const int last_idx = FBARRAY_TEST_LEN - 1; in check_used_one() local 375 last_idx), idx, in check_used_one() 396 last_idx), 0, in check_used_one() [all …]
|
| H A D | test_dmadev_api.c | 429 uint16_t last_idx = 1; in test_dma_completed() local 458 last_idx); in test_dma_completed() 472 RTE_TEST_ASSERT_EQUAL(last_idx, 1, "Last idx should be 1, %u", in test_dma_completed() 473 last_idx); in test_dma_completed() 489 uint16_t last_idx = 1; in test_dma_completed_status() local 505 cpl_ret = rte_dma_completed_status(test_dev_id, 0, 1, &last_idx, in test_dma_completed_status() 509 last_idx); in test_dma_completed_status() 515 cpl_ret = rte_dma_completed_status(test_dev_id, 0, 1, &last_idx, in test_dma_completed_status() 524 cpl_ret = rte_dma_completed_status(test_dev_id, 0, 1, &last_idx, in test_dma_completed_status() 527 RTE_TEST_ASSERT_EQUAL(last_idx, 1, "Last idx should be 1, %u", in test_dma_completed_status() [all …]
|
| /dpdk/lib/dmadev/ |
| H A D | rte_dmadev.h | 1025 uint16_t *last_idx, bool *has_error) in rte_dma_completed() argument 1045 if (last_idx == NULL) in rte_dma_completed() 1046 last_idx = &idx; in rte_dma_completed() 1051 return (*obj->completed)(obj->dev_private, vchan, nb_cpls, last_idx, in rte_dma_completed() 1085 const uint16_t nb_cpls, uint16_t *last_idx, in rte_dma_completed_status() argument 1097 if (last_idx == NULL) in rte_dma_completed_status() 1098 last_idx = &idx; in rte_dma_completed_status() 1101 last_idx, status); in rte_dma_completed_status()
|
| H A D | rte_dmadev_core.h | 43 uint16_t *last_idx, bool *has_error); 48 uint16_t *last_idx, enum rte_dma_status_code *status);
|
| H A D | rte_dmadev.c | 829 __rte_unused uint16_t *last_idx, __rte_unused bool *has_error) in dummy_completed() argument 839 __rte_unused uint16_t *last_idx, in dummy_completed_status() argument
|
| /dpdk/lib/ip_frag/ |
| H A D | ip_frag_common.h | 95 for (i = 0; i != fp->last_idx; i++) { in ip_frag_free() 102 fp->last_idx = 0; in ip_frag_free() 112 for (i = 0; i < fp->last_idx; i++) { in ip_frag_free_immediate() 123 fp->last_idx = 0; in ip_frag_free_immediate() 149 fp->last_idx = IP_MIN_FRAG_NUM; in ip_frag_reset()
|
| H A D | ip_frag_internal.c | 110 } else if ((idx = fp->last_idx) < RTE_DIM(fp->frags)) { in ip_frag_process() 111 fp->last_idx++; in ip_frag_process() 129 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 142 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 187 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 200 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process()
|
| H A D | rte_ipv4_reassembly.c | 23 n = fp->last_idx - 1; in ipv4_frag_reassemble() 155 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv4_frag_reassemble_packet() 170 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv4_frag_reassemble_packet()
|
| H A D | rte_ipv6_reassembly.c | 43 n = fp->last_idx - 1; in ipv6_frag_reassemble() 199 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv6_frag_reassemble_packet() 215 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv6_frag_reassemble_packet()
|
| H A D | ip_reassembly.h | 57 uint32_t last_idx; /* index of next entry to fill */ member
|
| H A D | rte_ip_frag_common.c | 138 fp->last_idx) in rte_ip_frag_table_del_expired_entries()
|
| /dpdk/drivers/dma/idxd/ |
| H A D | idxd_internal.h | 98 uint16_t *last_idx, bool *has_error); 100 uint16_t max_ops, uint16_t *last_idx,
|
| H A D | idxd_common.c | 371 uint16_t *last_idx, bool *has_error) in idxd_completed() argument 382 *last_idx = idxd->ids_returned - 1; in idxd_completed() 388 uint16_t *last_idx, enum rte_dma_status_code *status) in idxd_completed_status() argument 399 *last_idx = idxd->ids_returned - 1; in idxd_completed_status()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_acl_ctrl.c | 33 scen->last_idx[ICE_ACL_PRIO_LOW] = scen->num_entry - in ice_acl_init_entry() 35 scen->last_idx[ICE_ACL_PRIO_NORMAL] = scen->num_entry / 4; in ice_acl_init_entry() 36 scen->last_idx[ICE_ACL_PRIO_HIGH] = scen->num_entry / 4 - 1; in ice_acl_init_entry() 53 u16 first_idx, last_idx, i; in ice_acl_scen_assign_entry_idx() local 60 last_idx = scen->last_idx[prio]; in ice_acl_scen_assign_entry_idx() 61 step = first_idx <= last_idx ? 1 : -1; in ice_acl_scen_assign_entry_idx() 63 for (i = first_idx; i != last_idx + step; i += step) in ice_acl_scen_assign_entry_idx()
|
| H A D | ice_acl.h | 78 u16 last_idx[ICE_ACL_MAX_PRIO]; member
|
| /dpdk/drivers/dma/cnxk/ |
| H A D | cnxk_dmadev.c | 350 uint16_t *last_idx, bool *has_error) in cnxk_dmadev_completed() argument 367 *last_idx = cnt - 1; in cnxk_dmadev_completed() 376 const uint16_t nb_cpls, uint16_t *last_idx, in cnxk_dmadev_completed_status() argument 383 RTE_SET_USED(last_idx); in cnxk_dmadev_completed_status() 392 *last_idx = cnt - 1; in cnxk_dmadev_completed_status()
|
| /dpdk/drivers/dma/ioat/ |
| H A D | ioat_dmadev.c | 419 uint16_t *last_idx, bool *has_error) in ioat_completed() argument 431 *last_idx = ioat->next_read - 2; in ioat_completed() 444 *last_idx = ioat->next_read - 1; in ioat_completed() 457 *last_idx = ioat->next_read - 2; in ioat_completed() 469 uint16_t max_ops, uint16_t *last_idx, enum rte_dma_status_code *status) in ioat_completed_status() argument 511 *last_idx = ioat->next_read - 1; in ioat_completed_status()
|
| /dpdk/drivers/dma/skeleton/ |
| H A D | skeleton_dmadev.c | 388 uint16_t *last_idx, bool *has_error) in skeldma_completed() argument 402 *last_idx = desc->ridx; in skeldma_completed() 413 uint16_t *last_idx, enum rte_dma_status_code *status) in skeldma_completed_status() argument 426 *last_idx = desc->ridx; in skeldma_completed_status()
|
| /dpdk/drivers/dma/dpaa/ |
| H A D | dpaa_qdma.c | 426 uint16_t *last_idx, in fsl_qdma_queue_transfer_complete() argument 460 *last_idx = fsl_comp->index; in fsl_qdma_queue_transfer_complete() 792 const uint16_t nb_cpls, uint16_t *last_idx, in dpaa_qdma_dequeue_status() argument 829 last_idx, st); in dpaa_qdma_dequeue_status() 839 uint16_t *last_idx, bool *has_error) in dpaa_qdma_dequeue() argument 876 last_idx, NULL); in dpaa_qdma_dequeue()
|
| /dpdk/drivers/event/dsw/ |
| H A D | dsw_evdev.c | 158 uint16_t last_idx = queue->num_serving_ports - 1; in queue_remove_port() local 159 if (i != last_idx) in queue_remove_port() 161 queue->serving_ports[last_idx]; in queue_remove_port()
|
| H A D | dsw_event.c | 269 uint16_t last_idx = port->paused_flows_len-1; in dsw_port_remove_paused_flow() local 270 if (i != last_idx) in dsw_port_remove_paused_flow() 272 port->paused_flows[last_idx]; in dsw_port_remove_paused_flow() 1003 uint16_t last_idx = source_port->in_buffer_len; in dsw_port_forward_emigrated_flow() local 1004 source_port->in_buffer[last_idx] = *e; in dsw_port_forward_emigrated_flow()
|
| /dpdk/drivers/dma/hisilicon/ |
| H A D | hisi_dmadev.c | 688 uint16_t *last_idx, bool *has_error) in hisi_dma_completed() argument 707 *last_idx = hw->cridx - 1; in hisi_dma_completed() 748 uint16_t *last_idx, enum rte_dma_status_code *status) in hisi_dma_completed_status() argument 766 *last_idx = hw->cridx - 1; in hisi_dma_completed_status()
|
| /dpdk/examples/vhost_blk/ |
| H A D | vhost_blk.c | 495 uint16_t task_idx, req_idx, last_idx, chain_num; in process_vq() local 505 last_idx = (req_idx + chain_num - 1) % vq->vring.size; in process_vq() 510 last_idx, in process_vq()
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x.c | 3721 char last_idx; in bnx2x_mc_assert() local 3726 last_idx = in bnx2x_mc_assert() 3728 if (last_idx) in bnx2x_mc_assert() 3729 PMD_DRV_LOG(ERR, sc, "XSTORM_ASSERT_LIST_INDEX 0x%x", last_idx); in bnx2x_mc_assert() 3761 last_idx = in bnx2x_mc_assert() 3763 if (last_idx) { in bnx2x_mc_assert() 3764 PMD_DRV_LOG(ERR, sc, "TSTORM_ASSERT_LIST_INDEX 0x%x", last_idx); in bnx2x_mc_assert() 3797 last_idx = in bnx2x_mc_assert() 3799 if (last_idx) { in bnx2x_mc_assert() 3833 last_idx = in bnx2x_mc_assert() [all …]
|
| /dpdk/lib/vhost/ |
| H A D | virtio_net.c | 135 uint16_t last_idx = 0; in vhost_async_dma_check_completed() local 148 nr_copies = rte_dma_completed(dma_id, vchan_id, max_pkts, &last_idx, &has_error); in vhost_async_dma_check_completed() 157 copy_idx = last_idx - nr_copies + 1; in vhost_async_dma_check_completed()
|