]> asedeno.scripts.mit.edu Git - linux.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)
commitb8267cd765b333673e05696b517d38a1a7eb5b2e
tree5699e963ec78b8003a63a1f09c64701c982996e0
parent09e574fa76d6a47e283a7eb18ec1b0cb34174532
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