]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use the new mlx5 core notifier API
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Nov 2018 22:38:58 +0000 (14:38 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Nov 2018 00:40:31 +0000 (16:40 -0800)
commit82b090ab7e9108358510ea516b8ef9a7712aae49
tree1a8465fb559bd864087068084f87e96df7238691
parent596d18e0915be5ab3a40507d8f763a9ce5b7e53b
net/mlx5e: Use the new mlx5 core notifier API

Remove the deprecated mlx5_interface->event mlx5e callback and use new
mlx5 notifier API to subscribe for mlx5 events, handle port change event
as received from FW rather than handling the mlx5 core processed port
change software version event.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c