<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Create AV with GRH from user space</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Fab</FONT>
</P>

<P><FONT SIZE=2>Our verification team found that when one try to create AV with GRH the application crash</FONT>
</P>

<P><FONT SIZE=2>I track that and discover that in function gid_to_index_lookup (mlnx_ual_av.c ) the code try to lookup the GID from the gid table that cached on the hobul object </FONT></P>

<P><FONT SIZE=2>apparently this p_hca_attr struct is empty ( was suppose to be filled with query_ca)</FONT>
</P>

<P><FONT SIZE=2>I think that mlnx_pre_query_ca function is trying to cache the data from the query_ca but its just point to the inoutbuf with size 0</FONT></P>

<P><FONT SIZE=2>I try to set the inoubuf size to the right size but still no data was cached </FONT>
<BR><FONT SIZE=2>Do you have any idea what is the problem ?</FONT>
</P>

<P><FONT SIZE=2>BTW</FONT>
<BR><FONT SIZE=2>I don't really think that we can cache the data in the user (the SM might change it),</FONT>
<BR><FONT SIZE=2>so if we eliminate the cache how can the user get the gid table in order to convert gid to gid index </FONT>
</P>

<P><FONT SIZE=2>10x</FONT>
<BR><FONT SIZE=2>Yossi </FONT>
</P>

</BODY>
</HTML>