]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net/mlx5: Improve core device events handling
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Nov 2018 22:12:28 +0000 (14:12 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Nov 2018 21:39:34 +0000 (13:39 -0800)
commit2c89156082b3be7a064b09dfb0bcd274609f355d
tree97e42c8bc61e868b3f44ba77beb610213df65d7d
parent69c1280b1f3b9123bc5154b2062507abcc14c3ef
net/mlx5: Improve core device events handling

Register a separate handler per event type, rather than listening for all
events and looking for the events to handle in a switch case.

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