[PATCH v2 0/2] net/mlx5: improvements to link status handling
Stephen Hemminger
stephen at networkplumber.org
Mon Nov 2 09:07:44 CET 2026
On Fri, 30 Oct 2026 18:28:41 +0100
Dariusz Sosnowski <dsosnowski at nvidia.com> wrote:
> This series is a result of splitting patch:
> https://patches.dpdk.org/project/dpdk/patch/20261026160400.1290443-1-dsosnowski@nvidia.com/
>
> Patch 1 - Fix for mlx5 link update function to query current link carrier status,
> bypassing the delay introduced by linkwatch in Linux kernel.
>
> Patch 2 - Move to link status polling, in place of relying on netlink events
> which can be delayed by linkwatch for up to 1s.
Instead of polling is there a way to get the lsc directly from devx or ibv
on mlx5? That would work around the issue and avoid the overhead.
Long term, it would be good if kernel had sysctl to set linkwatch per interface
but it doesn't
More information about the dev
mailing list