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/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_regs.c
diff --git
a/drivers/net/hns3/hns3_regs.c
b/drivers/net/hns3/hns3_regs.c
index
7edd9b0
..
86a4cf7
100644
(file)
--- a/
drivers/net/hns3/hns3_regs.c
+++ b/
drivers/net/hns3/hns3_regs.c
@@
-499,6
+499,8
@@
hns3_get_regs(struct rte_eth_dev *eth_dev, struct rte_dev_reg_info *regs)
if (regs->length && regs->length != length)
return -ENOTSUP;
+ regs->version = hw->fw_version;
+
/* fetching per-PF registers values from PF PCIe register space */
data += hns3_direct_access_regs(hw, data);