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
/
i40e
/
i40e_ethdev_vf.c
diff --git
a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index
7659b18
..
53154c3
100644
(file)
--- a/
drivers/net/i40e/i40e_ethdev_vf.c
+++ b/
drivers/net/i40e/i40e_ethdev_vf.c
@@
-1575,6
+1575,7
@@
i40evf_dev_init(struct rte_eth_dev *eth_dev)
}
i40e_set_default_ptype_table(eth_dev);
rte_eth_copy_pci_info(eth_dev, pci_dev);
+ eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
hw->vendor_id = pci_dev->id.vendor_id;
hw->device_id = pci_dev->id.device_id;