RE: [PATCH] app/testpmd: support retrying device stop

2024-07-05 Thread Dariusz Sosnowski
> -Original Message- > From: Ferruh Yigit > Sent: Friday, July 5, 2024 13:29 > To: Stephen Hemminger ; Maayan Kashani > > Cc: dev@dpdk.org; Dariusz Sosnowski ; Raslan > Darawsheh ; Aman Singh ; > Yuying Zhang > Subject: Re: [PATCH] app/testpmd: support retry

Re: [PATCH] app/testpmd: support retrying device stop

2024-07-05 Thread Ferruh Yigit
On 6/3/2024 6:09 PM, Stephen Hemminger wrote: > On Sun, 2 Jun 2024 13:30:35 +0300 > Maayan Kashani wrote: > >> From: Dariusz Sosnowski >> >> 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

Re: [PATCH] app/testpmd: support retrying device stop

2024-06-03 Thread Stephen Hemminger
On Sun, 2 Jun 2024 13:30:35 +0300 Maayan Kashani wrote: > From: Dariusz Sosnowski > > 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 ar

[PATCH] app/testpmd: support retrying device stop

2024-06-02 Thread Maayan Kashani
From: Dariusz Sosnowski 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