[dpdk-dev] [RFC PATCH 3/6] null: remove pci device driver

2015-08-31 Thread Thomas Monjalon
2015-08-27 16:40, Bernard Iremonger: > remove rte_null_pmd and pci_dev. > > Signed-off-by: Bernard Iremonger [...] > - eth_dev->pci_dev = pci_dev; > - eth_dev->driver = &rte_null_pmd; > + eth_dev->pci_dev = NULL; Simple comment: Why a driver should reset a PCI field if it does not ca

[dpdk-dev] [RFC PATCH 3/6] null: remove pci device driver

2015-08-31 Thread Iremonger, Bernard
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, August 31, 2015 3:11 PM > To: Iremonger, Bernard > Cc: dev at dpdk.org; david.marchand at 6wind.com > Subject: Re: [RFC PATCH 3/6] null: remove pci device driver > > 2015-08-27 16

[dpdk-dev] [RFC PATCH 3/6] null: remove pci device driver

2015-08-27 Thread Bernard Iremonger
remove rte_null_pmd and pci_dev. Signed-off-by: Bernard Iremonger --- drivers/net/null/rte_eth_null.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index e244595..7436dee 100644