[PATCH] app/testpmd: support retrying device stop
Stephen Hemminger
stephen at networkplumber.org
Mon Jun 3 19:09:31 CEST 2024
On Sun, 2 Jun 2024 13:30:35 +0300
Maayan Kashani <mkashani at nvidia.com> wrote:
> From: Dariusz Sosnowski <dsosnowski at nvidia.com>
>
> In some cases rte_eth_dev_stop() can fail with EBUSY error code meaning
> that port cannot be stopped, because of other resources referencing this
> port and port must be stopped again after these resources are freed.
>
> This patch adds handling of EBUSY error code on port stop to testpmd.
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
What causes EBUSY. Seems like a driver bug or a test scenario problem.
You can't expect every DPDK application to retry.
More information about the dev
mailing list