Home
last modified time | relevance | path

Searched refs:consumer_counter (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c77 u16 consumer_counter; member
190 if ((u16) (q->producer_counter - q->consumer_counter) == q->count) in mlxsw_pci_queue_elem_info_producer_get()
198 int index = q->consumer_counter & (q->count - 1); in mlxsw_pci_queue_elem_info_consumer_get()
210 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned()
278 q->consumer_counter + q->count); in mlxsw_pci_queue_doorbell_consumer_ring()
286 __mlxsw_pci_queue_doorbell_arm_set(mlxsw_pci, q, q->consumer_counter); in mlxsw_pci_queue_doorbell_arm_consumer_ring()
306 q->consumer_counter = 0; in mlxsw_pci_sdq_init()
547 q->consumer_counter = 0; in mlxsw_pci_rdq_init()
685 if (q->consumer_counter++ != consumer_counter_limit) in mlxsw_pci_cqe_sdq_handle()
755 if (q->consumer_counter++ != consumer_counter_limit) in mlxsw_pci_cqe_rdq_handle()
[all …]
/linux-6.12.1/include/linux/mlx5/
Dmlx5_ifc.h4477 u8 consumer_counter[0x18]; member
4636 u8 consumer_counter[0x18]; member