[dpdk-dev] [PATCH 1/1] app/testpmd: fix port detach cleanup
Ferruh Yigit
ferruh.yigit at intel.com
Tue Apr 16 19:05:54 CEST 2019
On 4/16/2019 5:48 PM, Thomas Monjalon wrote:
> 12/04/2019 21:52, Yongseok Koh:
>>
>>> On Apr 12, 2019, at 8:48 AM, Viacheslav Ovsiienko <viacheslavo at mellanox.com> wrote:
>>>
>>> At port detach routine after calling the rte_dev_remove()
>>> testpmd performs some cleanup, checking the statuses of
>>> remaining ports and closes the appropriate ones. The port
>>> scanning is based on the new sibling iterator which uses the
>>> invalid (already closed) port for reference. This patch
>>> replaces the foreach iterator and uses the device object for
>>> reference. It is worth to note this cleanup is not needed
>>> for some drivers (at least for mlx5 and probably for others)
>>> and is preserved due to possible compatibility issues.
>>>
>>> Fixes: 13302cd5bd63 ("app/testpmd: use port sibling iterator in device cleanup")
>>>
>>> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
>>> ---
>> Acked-by: Yongseok Koh <yskoh at mellanox.com>
>
> Acked-by: Thomas Monjalon <thomas at monjalon.net>
>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list