From 1403c516a3a2d167f4996560b925f3686c7427b7 Mon Sep 17 00:00:00 2001 From: Shi Jin Date: Thu, 28 Mar 2024 21:48:48 +0000 Subject: [PATCH] prov/efa: Move efa_rdm_cq_poll_ibv_cq to efa_rdm_cq.h This function is specific for RDM endpoint. Signed-off-by: Shi Jin --- prov/efa/src/efa_cq.h | 2 -- prov/efa/src/rdm/efa_rdm_cq.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/prov/efa/src/efa_cq.h b/prov/efa/src/efa_cq.h index c913b6f8172..e616741d454 100644 --- a/prov/efa/src/efa_cq.h +++ b/prov/efa/src/efa_cq.h @@ -18,8 +18,6 @@ struct efa_ibv_cq_poll_list_entry { struct efa_ibv_cq *cq; }; -void efa_rdm_cq_poll_ibv_cq(ssize_t cqe_to_process, struct efa_ibv_cq *ibv_cq); - static inline int efa_ibv_cq_poll_list_match(struct dlist_entry *entry, const void *cq) { diff --git a/prov/efa/src/rdm/efa_rdm_cq.h b/prov/efa/src/rdm/efa_rdm_cq.h index c7fe15d9166..23848b6cc1d 100644 --- a/prov/efa/src/rdm/efa_rdm_cq.h +++ b/prov/efa/src/rdm/efa_rdm_cq.h @@ -22,4 +22,5 @@ struct efa_rdm_cq { int efa_rdm_cq_open(struct fid_domain *domain, struct fi_cq_attr *attr, struct fid_cq **cq_fid, void *context); +void efa_rdm_cq_poll_ibv_cq(ssize_t cqe_to_process, struct efa_ibv_cq *ibv_cq); #endif