IB/mlx5: Register DEVX with mlx5_core to get async events
authorYishai Hadas <yishaih@mellanox.com>
Sun, 30 Jun 2019 16:23:30 +0000 (19:23 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Jul 2019 20:12:37 +0000 (17:12 -0300)
commite337dd53ce4cc3db79e52704e554f648c46d5e91
treede1fe59249fb690a587b921109026e518a0135ca
parent2afc5e1b9c340ff20848c8dd8fb60342617bce52
IB/mlx5: Register DEVX with mlx5_core to get async events

Register DEVX with with mlx5_core to get async events.  This will enable
to dispatch the applicable events to its consumers in down stream patches.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h