Home
last modified time | relevance | path

Searched refs:mbx_resp (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_mbx.c71 struct hns3_mbx_resp_status *mbx_resp; in hns3_get_mbx_resp() local
84 while ((hw->mbx_resp.head != hw->mbx_resp.tail + hw->mbx_resp.lost) && in hns3_get_mbx_resp()
93 hw->mbx_resp.req_msg_data = 0; in hns3_get_mbx_resp()
112 hw->mbx_resp.req_msg_data = 0; in hns3_get_mbx_resp()
114 hw->mbx_resp.lost++; in hns3_get_mbx_resp()
117 code0, code1, hw->mbx_resp.head, hw->mbx_resp.tail, in hns3_get_mbx_resp()
118 hw->mbx_resp.lost, in_irq); in hns3_get_mbx_resp()
122 mbx_resp = &hw->mbx_resp; in hns3_get_mbx_resp()
124 if (mbx_resp->resp_status) in hns3_get_mbx_resp()
125 return mbx_resp->resp_status; in hns3_get_mbx_resp()
[all …]
H A Dhns3_cmd.c512 hw->mbx_resp.head = 0; in hns3_cmd_init()
513 hw->mbx_resp.tail = 0; in hns3_cmd_init()
514 hw->mbx_resp.lost = 0; in hns3_cmd_init()
H A Dhns3_ethdev.h425 struct hns3_mbx_resp_status mbx_resp; /* mailbox response */ member
H A Dhns3_ethdev_vf.c1800 rte_spinlock_init(&hw->mbx_resp.lock); in hns3vf_init_vf()