Merge pull request #1842 from amzn/pps_fix efa: Always inline efa_wq_cqe_finalize
diff --git a/providers/efa/verbs.c b/providers/efa/verbs.c index 25981f5..614542f 100644 --- a/providers/efa/verbs.c +++ b/providers/efa/verbs.c
@@ -481,7 +481,10 @@ return efa_wq_get_next_wrid_idx_locked(wq, wr_id) | wq->shifted_gen; } -static void efa_wq_cqe_finalize(struct efa_wq *wq, struct efa_io_cdesc_common *cqe) +static inline void efa_wq_cqe_finalize(struct efa_wq *wq, + struct efa_io_cdesc_common *cqe) ALWAYS_INLINE; +static inline void efa_wq_cqe_finalize(struct efa_wq *wq, + struct efa_io_cdesc_common *cqe) { if (wq->need_lock) pthread_spin_lock(&wq->wqlock);