[dpdk-dev] [PATCH v2] net/mlx5: retry when link update fails

Raslan Darawsheh rasland at mellanox.com
Sun Oct 20 12:07:55 CEST 2019


Hi,
> -----Original Message-----
> From: Moti Haimovsky <motih at mellanox.com>
> Sent: Wednesday, October 16, 2019 10:34 AM
> To: Slava Ovsiienko <viacheslavo at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>
> Cc: dev at dpdk.org
> Subject: [PATCH v2] net/mlx5: retry when link update fails
> 
> mlx5_link_update immediately returns when called with no-wait parameter
> and its call for retrieving the link status returns with EAGAIN error.
> This is too harsh on busy systems where a first call fails with EAGAIN from
> time to time.
> This patch adds a (very limited) retry on such cases in order to allow
> retrieving the link status.
> 
> Signed-off-by: Moti Haimovsky <motih at mellanox.com>
> ---
> V2:
> * Code rebase

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh



More information about the dev mailing list