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

Hefty, Sean sean.hefty at intel.com
Mon Aug 11 10:31:47 PDT 2008


>         * 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?  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



More information about the ofw mailing list