]> asedeno.scripts.mit.edu Git - linux.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)
commit7cffaddd39b438fab49863ea4602d6294a9d657f
tree1a8465fb559bd864087068084f87e96df7238691
parent7a1795553074f90d59b3250b4a9b8aaf6ca2831e
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