[ofw] RE: [RFC] Remove path query from IPoIB

Hal Rosenstock hal.rosenstock at gmail.com
Mon Aug 11 10:35:36 PDT 2008


On Mon, Aug 11, 2008 at 1:31 PM, Hefty, Sean <sean.hefty at intel.com> wrote:
>>         * We always send the GRH so that we preferably lookup endpoints
>>         * by GID rather than by LID.  This allows certain WHQL tests
>>         * such as the 2c_MediaCheck test to succeed since they don't use
>>         * IP.  This allows endpoints to be created on the fly for requests
>>         * for which there is no match, something that doesn't work when
>>         * using LIDs only.
>>
>>So sending the GRH always is by design.  It lets things work in the absence of
>>ARP requests.
>
> Maybe I don't understand the full context for this part of the diff because I'm not reading the entire code.  It looks like this is creating the AV that will be used to send data to a remote endpoint.  Even if some lookup is done by GID, why does the AV need the GRH?

Only if it were going off IB (inter) subnet (in same IPoIB subnet)
would it need this for unicast. Within an IB subnet (intra subnet), it
is optional when sending unicast.

-- Hal

>  The LID portion of the AV must still be there anyway.  Basically, does this code result in IPoIB always sending a GRH with unicast traffic, and why must it do this?
>
> - Sean
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>



More information about the ofw mailing list