[dpdk-dev] [PATCH 0/3] remove RTE_EAL_UNBIND_PORTS related code

David Marchand david.marchand at 6wind.com
Mon Apr 14 14:51:49 CEST 2014


Hello Anatoly, 

I think we might want to start a discussion on what should be done by the eal
and what should be done by the drivers themselves. But this can be done later.

For now, I have a problem with your patch as it breaks drivers that use
RTE_PCI_DRV_FORCE_UNBIND flag, since it removes the part where this flag is
handled. Besides, I can see some remaining parts mentioning pci_switch_module()
in comments.

So, here is a patchset that should do the trick.
It does some cleanup before removing the RTE_EAL_UNBIND_PORTS part.


Regards, 
-- 
David Marchand

David Marchand (3):
  pci: pci_switch_module cleanup
  pci: move RTE_PCI_DRV_FORCE_UNBIND handling out of #ifdef
  pci: remove deprecated RTE_EAL_UNBIND_PORTS option

 lib/librte_eal/linuxapp/eal/eal_pci.c |  183 +--------------------------------
 1 file changed, 2 insertions(+), 181 deletions(-)

-- 
1.7.10.4



More information about the dev mailing list