From: Bernard Iremonger Date: Tue, 3 Nov 2015 13:02:04 +0000 (+0000) Subject: mpipe: remove fake pci interface X-Git-Tag: spdx-start~8158 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ce1ad1621cbcbd98f00699a4339c6f48e83d05da;p=dpdk.git mpipe: remove fake pci interface Signed-off-by: Bernard Iremonger Acked-by: Bruce Richardson --- diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c index 4dc32f762b..35134ba3e1 100644 --- a/drivers/net/mpipe/mpipe_tilegx.c +++ b/drivers/net/mpipe/mpipe_tilegx.c @@ -123,7 +123,6 @@ struct mpipe_dev_priv { int channel; /* Device channel. */ int port_id; /* DPDK port index. */ struct rte_eth_dev *eth_dev; /* DPDK device. */ - struct rte_pci_device pci_dev; /* PCI device data. */ struct rte_mbuf **tx_comps; /* TX completion array. */ struct rte_mempool *rx_mpool; /* mpool used by the rx queues. */ unsigned rx_offset; /* Receive head room. */ @@ -1568,7 +1567,6 @@ rte_pmd_mpipe_devinit(const char *ifname, priv->context = context; priv->instance = instance; priv->is_xaui = (strncmp(ifname, "xgbe", 4) == 0); - priv->pci_dev.numa_node = instance; priv->channel = -1; mac = priv->mac_addr.addr_bytes; @@ -1593,7 +1591,6 @@ rte_pmd_mpipe_devinit(const char *ifname, priv->eth_dev = eth_dev; priv->port_id = eth_dev->data->port_id; eth_dev->data->dev_private = priv; - eth_dev->pci_dev = &priv->pci_dev; eth_dev->data->mac_addrs = &priv->mac_addr; eth_dev->data->dev_flags = 0;