doc: clarify port hotplug in testpmd
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 8 Jun 2016 15:40:17 +0000 (16:40 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jun 2016 20:38:53 +0000 (22:38 +0200)
commit4cd69cc855deaa39654e5df11dd6641bd37f890f
tree5a688209027091702e2a90a02c1a3fef69440df0
parentb38bb262a46f1372ebcb81bfee2fc2f0cd8f4241
doc: clarify port hotplug in testpmd

Port needs to be stopped and then closed before it can be detached,
but the documentation was only saying to close the port.

Also, both sections for port detaching and attaching has been reformatted
slightly, to show clearly how to use the commands.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
doc/guides/testpmd_app_ug/testpmd_funcs.rst