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
ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_ethdev.c
diff --git
a/drivers/net/hns3/hns3_ethdev.c
b/drivers/net/hns3/hns3_ethdev.c
index
6869c8e
..
5a234e2
100644
(file)
--- a/
drivers/net/hns3/hns3_ethdev.c
+++ b/
drivers/net/hns3/hns3_ethdev.c
@@
-6106,6
+6106,8
@@
hns3_dev_init(struct rte_eth_dev *eth_dev)
return 0;
}
return 0;
}
+ eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
+
ret = hns3_mp_init_primary();
if (ret) {
PMD_INIT_LOG(ERR,
ret = hns3_mp_init_primary();
if (ret) {
PMD_INIT_LOG(ERR,