From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [PATCH v5 27/28] mpipe: remove pci device Date: Fri, 23 Oct 2015 18:36:32 +0100 Message-ID: <1445621793-3630-28-git-send-email-bernard.iremonger@intel.com> References: <1445621793-3630-1-git-send-email-bernard.iremonger@intel.com> To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E2D5F91E3 for ; Fri, 23 Oct 2015 19:57:58 +0200 (CEST) In-Reply-To: <1445621793-3630-1-git-send-email-bernard.iremonger@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Bernard Iremonger --- drivers/net/mpipe/mpipe_tilegx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c index b2a7d68..5afd191 100644 --- a/drivers/net/mpipe/mpipe_tilegx.c +++ b/drivers/net/mpipe/mpipe_tilegx.c @@ -122,7 +122,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. */ @@ -1567,7 +1566,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; @@ -1591,7 +1589,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; -- 1.9.1