[dpdk-dev] About 'CONFIG_RTE_EAL_UNBIND_PORTS'

Tetsuya Mukawa tetsuya.mukawa.1 at gmail.com
Tue Sep 3 03:39:06 CEST 2013


2013/9/3 Thomas Monjalon <thomas.monjalon at 6wind.com>:
> 29/08/2013 09:54, Tetsuya Mukawa :
>> Someone, could you please let me know what is a case that I need to
>> enable 'CONFIG_RTE_EAL_UNBIND_PORTS'?
>
> In DPDK 1.3, the UNBIND option is intended to restore the previous state
> when exiting a DPDK application.
> In case of devices bound to igb_uio, it will re-bind them to their original
> driver (e1000/igb/ixgbe).
> It has no effect with virtio.
>
> The bug that you have described does not appear with igb_uio drivers because
> fd is initialized in pci_map_resource().
> But in case of virtio, pci_map_resource() is not called.

Thank you for your explanation.
I understand it clearly.

> It looks good.
> Could you send it as a real patch with a commit log ?

Sure, I will.

Thanks,
Tetsuya Mukawa


More information about the dev mailing list