summaryrefslogtreecommitdiff
path: root/drivers/net/octeontx
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-04-09 13:09:38 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-04-14 00:41:44 +0200
commitcd8c7c7ce241d2ea7c059a9df07caa9411ef19ed (patch)
tree93b03b50a9a77c2f86bd071573c8a94326427558 /drivers/net/octeontx
parente4031ced5a3d6afc028ab8551d80d60351c3a180 (diff)
downloaddpdk-next-eventdev-cd8c7c7ce241d2ea7c059a9df07caa9411ef19ed.zip
dpdk-next-eventdev-cd8c7c7ce241d2ea7c059a9df07caa9411ef19ed.tar.gz
dpdk-next-eventdev-cd8c7c7ce241d2ea7c059a9df07caa9411ef19ed.tar.xz
ethdev: replace bus specific struct with generic dev
Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it although it is common for all ethdev in all buses. Replacing pci specific struct with generic device struct and updating places that are using pci device in a way to get this information from generic device. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Reviewed-by: David Marchand <david.marchand@6wind.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'drivers/net/octeontx')
-rw-r--r--drivers/net/octeontx/octeontx_ethdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c
index 1406e4e..f829e0c 100644
--- a/drivers/net/octeontx/octeontx_ethdev.c
+++ b/drivers/net/octeontx/octeontx_ethdev.c
@@ -616,7 +616,6 @@ octeontx_dev_info(struct rte_eth_dev *dev,
dev_info->max_rx_queues = 1;
dev_info->max_tx_queues = PKO_MAX_NUM_DQ;
dev_info->min_rx_bufsize = 0;
- dev_info->pci_dev = NULL;
dev_info->default_rxconf = (struct rte_eth_rxconf) {
.rx_free_thresh = 0,