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: fix metadata item validation for ingress flows
[dpdk.git]
/
drivers
/
net
/
igc
/
igc_ethdev.c
diff --git
a/drivers/net/igc/igc_ethdev.c
b/drivers/net/igc/igc_ethdev.c
index
1bcfb63
..
dbaa7a8
100644
(file)
--- a/
drivers/net/igc/igc_ethdev.c
+++ b/
drivers/net/igc/igc_ethdev.c
@@
-8,8
+8,8
@@
#include <rte_string_fns.h>
#include <rte_pci.h>
#include <rte_bus_pci.h>
#include <rte_string_fns.h>
#include <rte_pci.h>
#include <rte_bus_pci.h>
-#include <
rte_
ethdev_driver.h>
-#include <
rte_
ethdev_pci.h>
+#include <ethdev_driver.h>
+#include <ethdev_pci.h>
#include <rte_malloc.h>
#include <rte_alarm.h>
#include <rte_malloc.h>
#include <rte_alarm.h>
@@
-1244,6
+1244,7
@@
eth_igc_dev_init(struct rte_eth_dev *dev)
return 0;
rte_eth_copy_pci_info(dev, pci_dev);
return 0;
rte_eth_copy_pci_info(dev, pci_dev);
+ dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
hw->back = pci_dev;
hw->hw_addr = (void *)pci_dev->mem_resource[0].addr;
hw->back = pci_dev;
hw->hw_addr = (void *)pci_dev->mem_resource[0].addr;