commit | ed56d749c366be269d58b29597392e4a0ae71c0a | [log] [tgz] |
---|---|---|
author | Eran Ben Elisha <eranbe@mellanox.com> | Mon Jul 20 18:34:37 2020 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Jul 28 12:55:48 2020 -0700 |
tree | 97eccf8fd25c4fe04d00414f64b9d4cba47b6ab9 | |
parent | 21083309cab1a66877b410cd61340b5dd7cf4875 [diff] |
net/mlx5: Query PPS pin operational status before registering it In a special configuration, a ConnectX6-Dx pin pps-out might be activated when driver is loaded. Fix the driver to always read the operational pin mode when registering it, and advertise it accordingly. Fixes: ee7f12205abc ("net/mlx5e: Implement 1PPS support") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>