diff options
author | Konstantin Taranov <kotaranov@microsoft.com> | 2024-04-10 10:42:26 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-04-16 13:28:26 +0200 |
commit | 98b889c43935c43ad15783dbfb1e59b4ee7f4a56 (patch) | |
tree | 6357a362eafcedf63b34bcef31d97262ce20f894 /drivers/infiniband/hw/mana/mana_ib.h | |
parent | RDMA/mana_ib: Use num_comp_vectors of ib_device (diff) | |
download | linux-98b889c43935c43ad15783dbfb1e59b4ee7f4a56.tar.xz linux-98b889c43935c43ad15783dbfb1e59b4ee7f4a56.zip |
RDMA/mana_ib: Add EQ creation for rnic adapter
Create an error EQ for the RNIC adapter.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1712738551-22075-2-git-send-email-kotaranov@linux.microsoft.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/mana/mana_ib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mana/mana_ib.h b/drivers/infiniband/hw/mana/mana_ib.h index ceca21cef72a..7c55204125de 100644 --- a/drivers/infiniband/hw/mana/mana_ib.h +++ b/drivers/infiniband/hw/mana/mana_ib.h @@ -54,6 +54,7 @@ struct mana_ib_queue { struct mana_ib_dev { struct ib_device ib_dev; struct gdma_dev *gdma_dev; + struct gdma_queue *fatal_err_eq; struct mana_ib_adapter_caps adapter_caps; }; @@ -233,4 +234,8 @@ int mana_ib_query_gid(struct ib_device *ibdev, u32 port, int index, void mana_ib_disassociate_ucontext(struct ib_ucontext *ibcontext); int mana_ib_gd_query_adapter_caps(struct mana_ib_dev *mdev); + +int mana_ib_create_eqs(struct mana_ib_dev *mdev); + +void mana_ib_destroy_eqs(struct mana_ib_dev *mdev); #endif |