Searched refs:new_idx (Results 1 – 9 of 9) sorted by relevance
| /dpdk/drivers/crypto/virtio/ |
| H A D | virtio_ring.h | 132 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vring_need_event() argument 134 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_ring.h | 183 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vring_need_event() argument 185 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()
|
| /dpdk/drivers/net/octeontx_ep/ |
| H A D | otx_ep_rxtx.c | 408 uint32_t new_idx = rte_read32(iq->inst_cnt_reg); in otx_vf_update_read_index() local 409 if (unlikely(new_idx == 0xFFFFFFFFU)) in otx_vf_update_read_index() 410 rte_write32(new_idx, iq->inst_cnt_reg); in otx_vf_update_read_index() 414 new_idx &= (iq->nb_desc - 1); in otx_vf_update_read_index() 416 return new_idx; in otx_vf_update_read_index()
|
| /dpdk/lib/efd/ |
| H A D | rte_efd.c | 966 uint32_t new_idx; in efd_compute_update() local 1040 new_idx = (uint32_t) ((uintptr_t) slot_id); in efd_compute_update() 1042 rte_memcpy(EFD_KEY(new_idx, table), key, table->key_len); in efd_compute_update() 1043 current_group->key_idx[current_group->num_rules] = new_idx; in efd_compute_update()
|
| /dpdk/lib/vhost/ |
| H A D | vhost.h | 830 vhost_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vhost_need_event() argument 832 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vhost_need_event()
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_tbl.c | 21 #define TF_TBL_RM_TO_PTR(new_idx, idx, base, shift) { \ argument 22 *(new_idx) = (((idx) + (base)) << (shift)); \
|
| H A D | tf_tbl_sram.c | 24 #define TF_TBL_PTR_TO_RM(new_idx, idx, base, shift) { \ argument 25 *(new_idx) = (((idx) >> (shift)) - (base)); \
|
| /dpdk/lib/hash/ |
| H A D | rte_cuckoo_hash.c | 733 uint16_t sig, uint32_t new_idx, in rte_hash_cuckoo_insert_mw() argument 773 new_idx, in rte_hash_cuckoo_insert_mw() 798 uint16_t sig, uint32_t new_idx, in rte_hash_cuckoo_move_insert_mw() argument 905 new_idx, in rte_hash_cuckoo_move_insert_mw() 924 uint32_t new_idx, int32_t *ret_val) in rte_hash_cuckoo_make_space_mw() argument 950 new_idx, ret_val); in rte_hash_cuckoo_make_space_mw()
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_main.c | 332 u32 v, new_idx; in cxgb4_set_rspq_intr_params() local 334 new_idx = closest_thres(&adap->sge, cnt); in cxgb4_set_rspq_intr_params() 335 if (q->desc && q->pktcnt_idx != new_idx) { in cxgb4_set_rspq_intr_params() 342 &v, &new_idx); in cxgb4_set_rspq_intr_params() 346 q->pktcnt_idx = new_idx; in cxgb4_set_rspq_intr_params()
|