]> 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)
commit7f342fdc3861213055dad9a7903126379b0a8801
tree1a8465fb559bd864087068084f87e96df7238691
parentdfa897aacfd89567cd75b36dd02f99fd7b93de97
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