commit | c2fb3db22d35f01774d0547b1d8e5085df193646 | [log] [tgz] |
---|---|---|
author | Mikhael Goikhman <migo@mellanox.com> | Mon Dec 10 13:15:09 2018 -0800 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Mon Dec 10 14:00:08 2018 -0800 |
tree | 8676442d3705fe09d716c51b79a23ac057398338 | |
parent | 7300375f181e06ba98183509065c6b71bead442d [diff] |
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: Mikhael Goikhman <migo@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>