]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Remove all deprecated software versions of FW events
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Nov 2018 22:39:05 +0000 (14:39 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Nov 2018 00:40:32 +0000 (16:40 -0800)
commitc686a735153cdb2897c868de4d2ff87ac2a73c95
tree5699e963ec78b8003a63a1f09c64701c982996e0
parent8dfb4ca0e2feb13d2c4a41e2935f84d68296d264
net/mlx5: Remove all deprecated software versions of FW events

Before the new mlx5 event notification infrastructure and API,
mlx5_core used to process all events before forwarding them to mlx5
interfaces (mlx5e/mlx5_ib) and used to translate the event type enum
to a software defined enum, this is not needed anymore since it is ok
for mlx5e and mlx5_ib to receive FW events as is, at least the few ones
mlx5 core allows.

mlx5e and mlx5_ib already moved to use the new API and they only handle FW
events types, it is now safe to remove all equivalent software defined
events and the logic around them.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/events.c
include/linux/mlx5/driver.h