[Openib-windows] [PATCH] AV for alias PD

Yossi Leybovich sleybo at mellanox.co.il
Sun Oct 16 09:08:37 PDT 2005


Fab

For AV of alias PD the create_av function should call ual_pd_alias_create_av
function ,
otherwise there is no AV in kernel.

This patch fix that 

10x
Yossi 


Signed-off-by: Yossi Leybovich (sleybo at mellanox.co.il)

Index: core/al/al_verbs.h
===================================================================
--- core/al/al_verbs.h (revision 608)
+++ core/al/al_verbs.h (working copy)
@@ -312,6 +312,8 @@
 
  /* 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 )
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20051016/e78bdbe6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alias_pd_av.patch
Type: application/octet-stream
Size: 432 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20051016/e78bdbe6/attachment.obj>


More information about the ofw mailing list