Home
last modified time | relevance | path

Searched refs:consumer_index (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_queue.h139 cons = smp_load_acquire(&q->buf->consumer_index); in queue_get_consumer()
143 cons = smp_load_acquire(&q->buf->consumer_index); in queue_get_consumer()
147 cons = q->buf->consumer_index; in queue_get_consumer()
226 smp_store_release(&q->buf->consumer_index, cons); in queue_advance_consumer()
242 cons = q->buf->consumer_index; in queue_advance_consumer()
245 smp_store_release(&q->buf->consumer_index, cons); in queue_advance_consumer()
Drxe_queue.c133 q->buf->consumer_index = cons; in resize_finish()
139 q->index = q->buf->consumer_index; in resize_finish()
/linux-6.12.1/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
65 u16 consumer_index; member
93 u16 consumer_index; member
Dbfa_msgq.c55 cmdq->consumer_index = 0; in cmdq_sm_stopped_entry()
232 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update()
331 rspq->consumer_index = 0; in rspq_sm_stopped_entry()
449 dbell->idx.rspq_ci = htons(rspq->consumer_index); in bfa_msgq_rspq_dbell()
468 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()
470 rspq_qe += (rspq->consumer_index * BFI_MSGQ_RSP_ENTRY_SIZE); in bfa_msgq_rspq_pi_update()
481 BFA_MSGQ_INDX_ADD(rspq->consumer_index, num_entries, in bfa_msgq_rspq_pi_update()
643 ci = rspq->consumer_index; in bfa_msgq_rsp_copy()
Dbna.h58 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \
61 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
Dbna_types.h426 u32 consumer_index; member
558 u32 consumer_index; member
Dbnad_ethtool.c753 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()
768 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()
783 buf[bi++] = tcb->consumer_index; in bnad_per_q_stats_fill()
Dbnad.c173 cons = tcb->consumer_index; in bnad_txcmpl_process()
195 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
534 ci = rcb->consumer_index; in bnad_cq_setup_skb_frags()
627 sop_ci = rcb->consumer_index; in bnad_cq_process()
720 BNA_QE_INDX_ADD(rcb->consumer_index, nvecs, rcb->q_depth); in bnad_cq_process()
2968 if ((*tcb->hw_consumer_index != tcb->consumer_index) && in bnad_start_xmit()
Dbna_tx_rx.c2121 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2123 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
3294 txq->tcb->producer_index = txq->tcb->consumer_index = 0; in bna_bfi_tx_enet_start_rsp()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c710 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
729 (tracer->buff.consumer_index - 1) & (block_count - 1); in mlx5_fw_tracer_handle_traces()
743 tracer->buff.consumer_index = in mlx5_fw_tracer_handle_traces()
744 (tracer->buff.consumer_index + 1) & (block_count - 1); in mlx5_fw_tracer_handle_traces()
755 tracer->buff.consumer_index = in mlx5_fw_tracer_handle_traces()
756 (tracer->buff.consumer_index + 1) & (block_count - 1); in mlx5_fw_tracer_handle_traces()
759 start_offset = tracer->buff.consumer_index * TRACER_BLOCK_SIZE_BYTE; in mlx5_fw_tracer_handle_traces()
787 tracer->buff.consumer_index = 0; in mlx5_fw_tracer_set_mtrc_conf()
Dfw_tracer.h98 u32 consumer_index; member
/linux-6.12.1/include/uapi/rdma/
Drdma_user_rxe.h226 __u32 consumer_index; member
/linux-6.12.1/drivers/net/ethernet/ibm/
Dibmveth.h118 u32 consumer_index; member
Dibmveth.c197 pool->consumer_index = 0; in ibmveth_alloc_buffer_pool()
230 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool()
283 pool->consumer_index++; in ibmveth_replenish_buffer_pool()
284 if (pool->consumer_index >= pool->size) in ibmveth_replenish_buffer_pool()
285 pool->consumer_index = 0; in ibmveth_replenish_buffer_pool()
Dibmvnic.c1239 tx_pool->consumer_index = 0; in init_one_tx_pool()
1386 tx_pool->consumer_index = 0; in init_tx_pools()
1402 tso_pool->consumer_index = 0; in init_tx_pools()
2306 tx_pool->free_map[tx_pool->consumer_index] = index; in ibmvnic_tx_scrq_clean_buffer()
2307 tx_pool->consumer_index = tx_pool->consumer_index == 0 ? in ibmvnic_tx_scrq_clean_buffer()
2309 tx_pool->consumer_index - 1; in ibmvnic_tx_scrq_clean_buffer()
2451 bufidx = tx_pool->free_map[tx_pool->consumer_index]; in ibmvnic_xmit()
2464 tx_pool->free_map[tx_pool->consumer_index] = IBMVNIC_INVALID_MAP; in ibmvnic_xmit()
2505 tx_pool->consumer_index = in ibmvnic_xmit()
2506 (tx_pool->consumer_index + 1) % tx_pool->num_buffers; in ibmvnic_xmit()
[all …]
Dibmvnic.h853 int consumer_index; member
/linux-6.12.1/drivers/scsi/mpi3mr/mpi/
Dmpi30_transport.h27 __le16 consumer_index; member
/linux-6.12.1/drivers/scsi/pm8001/
Dpm8001_hwi.c252 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
1226 u32 offset, consumer_index; in pm8001_mpi_msg_free_get() local
1237 consumer_index = pm8001_read_32(circularQ->ci_virt); in pm8001_mpi_msg_free_get()
1238 circularQ->consumer_index = cpu_to_le32(consumer_index); in pm8001_mpi_msg_free_get()
1240 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get()
1278 circularQ->producer_idx, le32_to_cpu(circularQ->consumer_index)); in pm8001_mpi_build_cmd()
1311 circularQ->consumer_index); in pm8001_mpi_build_cmd()
Dpm8001_sas.h440 __le32 consumer_index; member
Dpm80xx_hwi.c801 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h339 __be32 consumer_index; member
359 __be32 consumer_index; member
/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_eq.c63 __be32 consumer_index; member
Dmthca_cq.c74 __be32 consumer_index; member
/linux-6.12.1/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c594 &mrioc->sysif_regs->oper_queue_indexes[reply_qidx].consumer_index); in mpi3mr_process_op_reply_q()
601 &mrioc->sysif_regs->oper_queue_indexes[reply_qidx].consumer_index); in mpi3mr_process_op_reply_q()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h9992 __le32 consumer_index; member

12