diff options
author | Aviv Heller <avivh@mellanox.com> | 2016-09-18 20:48:00 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-10-07 23:54:20 +0300 |
commit | 5ec8c83e3ad3ea4ea78798edcd4ad61e0041a174 (patch) | |
tree | 4e6699d3b8b6ff840638526a097ac58bead20ce0 /drivers/regulator/devres.c | |
parent | 350d0e4c7e4b03ed5646ac39ba4aac98bb3d9c56 (diff) | |
download | linux-5ec8c83e3ad3ea4ea78798edcd4ad61e0041a174.tar.xz |
IB/mlx5: Port events in RoCE now rely on netdev events
Since ib_query_port() in RoCE returns the state of its netdev as the port
state, it makes sense to propagate the port up/down events to ib_core
when the netdev port state changes, instead of relying on traditional
core events.
This also keeps both the event and ib_query_port() synchronized.
Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/regulator/devres.c')
0 files changed, 0 insertions, 0 deletions