[dpdk-dev] [PATCH v6] testpmd: Add port hotplug support
Tetsuya Mukawa
mukawa at igel.co.jp
Tue Feb 3 11:31:07 CET 2015
Hi Bernard,
I appreciate your checking.
I will fix like below.
Tetsuya
On 2015/02/03 19:03, Iremonger, Bernard wrote:
>>>> +.. code-block:: console
>>>> +
>>>> + testpmd> port attach 0000:02:00.0
>>>> + Attaching a new port...
>>>> + ... snip ...
>>>> + Port 0 is attached. Now total ports is 1
>>>> + Done
>>>> +port detach
>>>> +~~~~~~~~~~~
>>>> +
>>>> +Detach a specific port.
>>>> +
>>>> +Before detaching a port, the port should be closed.
>>>> +Also to remove a pci device completely from the system, first detach the port from testpmd.
>>>> +Then the device should be moved under kernel management.
>>>> +Finally the device can be remove using kernel pci hotplug functionality.
> Hi Tetsuya,
> Reword "remove" to "removed"
>
>>>> +On the other hand, to remove a port created by virtual device, above steps are not needed.
> Reword " created by virtual device" to "created by a virtual device"
>
>>>> +
>>>> +port detach (port_id)
>>>> +
>>>> +For example, to detach a port 0.
>>>> +
>>>> +.. code-block:: console
>>>> +
>>>> + testpmd> port detach 0
>>>> + Detaching a port...
>>>> + ... snip ...
>>>> + Done
>>>> +
>>>> port start
>>>> ~~~~~~~~~~
>>>>
>>>> --
>>>> 1.9.1
>>> Regards,
>>>
>>> Bernard.
>>>
More information about the dev
mailing list