]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Add sync reset drop mode support
authorMoshe Shemesh <moshe@nvidia.com>
Wed, 16 Oct 2024 17:36:14 +0000 (20:36 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 11:26:17 +0000 (13:26 +0200)
commitb37f3f2be0f4f9f62cf4cd001b1e95b89ed0e9b0
tree832f465935995a0b4d6a86b006ed08ae31013277
parenta1903bf50f2e67f8f5c67743d57c76ab19e795a5
net/mlx5: Add sync reset drop mode support

On sync reset flow, firmware may request a PF, which already
acknowledged the unload event, to move to drop mode. Drop mode means
that this PF will reduce polling frequency, as this PF is not going to
have another active part in the reset, but only reload back after the
reset.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c