[IBAL] Fix AV creation on user-mode PD aliases.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 17 Oct 2005 04:12:58 +0000 (04:12 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 17 Oct 2005 04:12:58 +0000 (04:12 +0000)
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@119 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/al_verbs.h

index ab57183..f5ce6c0 100644 (file)
@@ -312,6 +312,8 @@ verbs_create_qp(
 \r
        /* Macros for user-mode only */\r
 #define verbs_create_av(h_pd, p_av_attr, h_av) \\r
+       (h_pd->type == IB_PDT_ALIAS) ?\\r
+       ual_pd_alias_create_av(h_pd, p_av_attr, h_av):\\r
        ual_create_av(h_pd, p_av_attr, h_av); \\r
        UNUSED_PARAM( p_umv_buf )\r
 \r