Hi, > -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Raslan Darawsheh > Sent: Thursday, November 19, 2020 4:20 PM > To: dev@dpdk.org > Cc: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; NBU-Contact-Thomas Monjalon > <tho...@monjalon.net>; Benoît Ganne <bga...@cisco.com> > Subject: [dpdk-dev] [PATCH v2] net/mlx5: fix link state update > > From: Benoît Ganne <bga...@cisco.com> > > mlx5 PMD refuses to update link state if link speed is defined but > status is down or if link speed is undefined but status is up, even if > the ioctl() succeeded. > This prevents application to detect link up/down event, especially when > the link speed is not correctly detected. > As link speed is nice to have whereas link status is mandatory for > operations, always update link state regardless of link speed. The > application can then check link speed if needs be. > > Signed-off-by: Benoît Ganne <bga...@cisco.com> > Signed-off-by: Raslan Darawsheh <rasl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh