<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>To return the error on the active side that "this iWARP device doesn't support IPv6",</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>the following places are the possibility</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-rdma_connect()<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-rdma_resolve_addr()<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-qp setup time <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>rdma_resolve_addr() would probably be the earliest to handle this.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>For the driver to expose this lack of capability so that rdma_resolve_addr can figure out, </FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>we have the following structures available at the rdma_resolve_addr time <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-ib_device (pointed to by cma_device)</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-iw_cm_verbs (pointed to by ib_device)</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-net_device<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>If we donąt want to touch net_device and if this information can be made available through ib_device it might be simpler.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>If the IB devices won't need to differentiate between the availability of IPv4 and IPv6 capability and only iWARP devices might require it,</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>then Roland was suggesting iw_cm_verbs might be one path out.</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3></FONT></o:p> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>Seeking suggestions.</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3></FONT></o:p> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>Thanks!</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3></FONT></o:p> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>Venkat</FONT></o:p></P></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Venkat Venkatsubra <venkatvenkatsubra@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Roland Dreier <rdreier@cisco.com>; Aleksey Senin <alekseys@voltaire.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> Olga Shern <olgas@voltaire.com>; "general@lists.openfabrics.org" <general@lists.openfabrics.org><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, December 30, 2008 10:24:35 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [ofa-general] [RDMA CM IPv6 PATCHv7 2/2] RDMA CM<BR></FONT><BR>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif">
<DIV>I had couple of questions regarding RDMA CM supporting IPv6.</DIV>
<DIV> </DIV>
<DIV>When an iWARP NIC doesn't support IPv6, what is the earliest an error could be</DIV>
<DIV>returned saying feature unsupported ?</DIV>
<DIV>Any time sooner than rdma_connect() for the active connect side ?</DIV>
<DIV>And what about the passive side ?</DIV>
<DIV> </DIV>
<DIV>Venkat</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV><BR></DIV></DIV></div><br>
</body></html>