git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/hns3: support mailbox
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_cmd.c
diff --git
a/drivers/net/hns3/hns3_cmd.c
b/drivers/net/hns3/hns3_cmd.c
index
853b9fd
..
706b910
100644
(file)
--- a/
drivers/net/hns3/hns3_cmd.c
+++ b/
drivers/net/hns3/hns3_cmd.c
@@
-476,6
+476,9
@@
hns3_cmd_init(struct hns3_hw *hw)
hw->cmq.csq.next_to_use = 0;
hw->cmq.crq.next_to_clean = 0;
hw->cmq.crq.next_to_use = 0;
+ hw->mbx_resp.head = 0;
+ hw->mbx_resp.tail = 0;
+ hw->mbx_resp.lost = 0;
hns3_cmd_init_regs(hw);
rte_spinlock_unlock(&hw->cmq.crq.lock);