Home
last modified time | relevance | path

Searched refs:cmq (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_cmd.c102 (ring_type == HNS3_TYPE_CSQ) ? &hw->cmq.csq : &hw->cmq.crq; in hns3_alloc_cmd_queue()
303 hw->cmq.last_status = desc_ret; in hns3_cmd_get_hardware_reply()
384 ntc = hw->cmq.csq.next_to_use; in hns3_cmd_send()
387 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hns3_cmd_send()
389 (hw->cmq.csq.next_to_use)++; in hns3_cmd_send()
390 if (hw->cmq.csq.next_to_use == hw->cmq.csq.desc_num) in hns3_cmd_send()
391 hw->cmq.csq.next_to_use = 0; in hns3_cmd_send()
691 hw->cmq.csq.next_to_clean = 0; in hns3_cmd_init()
692 hw->cmq.csq.next_to_use = 0; in hns3_cmd_init()
693 hw->cmq.crq.next_to_clean = 0; in hns3_cmd_init()
[all …]
H A Dhns3_mbx.c215 return tail == hw->cmq.crq.next_to_use; in hns3_cmd_crq_empty()
405 struct hns3_cmq_ring *crq = &hw->cmq.crq; in hns3_handle_mbx_msg_out_intr()
436 next_to_use = (next_to_use + 1) % hw->cmq.crq.desc_num; in hns3_handle_mbx_msg_out_intr()
447 struct hns3_cmq_ring *crq = &hw->cmq.crq; in hns3_dev_handle_mbx_msg()
454 rte_spinlock_lock(&hw->cmq.crq.lock); in hns3_dev_handle_mbx_msg()
476 rte_spinlock_unlock(&hw->cmq.crq.lock); in hns3_dev_handle_mbx_msg()
482 rte_spinlock_unlock(&hw->cmq.crq.lock); in hns3_dev_handle_mbx_msg()
559 rte_spinlock_unlock(&hw->cmq.crq.lock); in hns3_dev_handle_mbx_msg()
H A Dhns3_ethdev.h491 struct hns3_cmq cmq; member