efa: Always inline efa_wq_cqe_finalize

efa_wq_cqe_finalize() runs once per completion on the CQ poll path, but
unlike the other poll-path helpers the compiler does not inline it.
Mark it ALWAYS_INLINE. This recovers the ~11% small-message rate lost
when the helper was added with the 64-bit request ID completion support.

Signed-off-by: Yosef Kaner <ykaner@amazon.com>
Signed-off-by: Yonatan Nachum <ynachum@amazon.com>
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);