From 1b626c35a975a6b279cd6909dff30e3d279fa221 Mon Sep 17 00:00:00 2001 From: ftillier Date: Mon, 17 Oct 2005 04:12:58 +0000 Subject: [PATCH] [IBAL] Fix AV creation on user-mode PD aliases. Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il) git-svn-id: svn://openib.tc.cornell.edu/gen1@119 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/core/al/al_verbs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/core/al/al_verbs.h b/trunk/core/al/al_verbs.h index ab57183f..f5ce6c0d 100644 --- a/trunk/core/al/al_verbs.h +++ b/trunk/core/al/al_verbs.h @@ -312,6 +312,8 @@ verbs_create_qp( /* Macros for user-mode only */ #define verbs_create_av(h_pd, p_av_attr, h_av) \ + (h_pd->type == IB_PDT_ALIAS) ?\ + ual_pd_alias_create_av(h_pd, p_av_attr, h_av):\ ual_create_av(h_pd, p_av_attr, h_av); \ UNUSED_PARAM( p_umv_buf ) -- 2.41.0