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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Aug 31 16:11:07 CEST 2015


2015-08-27 16:40, Bernard Iremonger:
> remove rte_null_pmd and pci_dev.
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
[...]
> -	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 care about PCI?



More information about the dev mailing list