Skip to content
Commit c2fb3db2 authored by Mikhael Goikhman's avatar Mikhael Goikhman Committed by Saeed Mahameed
Browse files

net/mlx5: Rework handling of port module events



Add explicit HW defined error values. For simplicity, keep counters for all
statuses starting from 0, although currently status=0 is not used.

Additionally, when HW signals an unexpected cable status, it is reported
now rather than ignored. And status counter is now updated on errors.

Signed-off-by: default avatarMikhael Goikhman <migo@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 7300375f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment