]> 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)
commit97ed59e066b5e92099eac9c74c174298da99f635
tree5699e963ec78b8003a63a1f09c64701c982996e0
parent24b64050e14e02d7e5a4a509a7d474c2cbd6bca3
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