Commit 2c891560 authored by Saeed Mahameed's avatar Saeed Mahameed

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: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 69c1280b
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment