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
/
enic
/
enic_ethdev.c
diff --git
a/drivers/net/enic/enic_ethdev.c
b/drivers/net/enic/enic_ethdev.c
index
4a34c0e
..
8d0054f
100644
(file)
--- a/
drivers/net/enic/enic_ethdev.c
+++ b/
drivers/net/enic/enic_ethdev.c
@@
-1300,6
+1300,7
@@
static int eth_enic_dev_init(struct rte_eth_dev *eth_dev,
pdev = RTE_ETH_DEV_TO_PCI(eth_dev);
rte_eth_copy_pci_info(eth_dev, pdev);
+ eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
enic->pdev = pdev;
addr = &pdev->addr;