On Wed, Mar 9, 2011 at 12:30 PM, Jason Gunthorpe
<[email protected]> wrote:
> On Wed, Mar 09, 2011 at 09:04:39AM +0100, Konstantin Boyanov wrote:
>
>> I think this is achievable on a single host by using the loopback
>> capabilities of the InfiniBand HCA. The problem is, that I was not
>> able to find a comprehensive description of how one sets up such
>> loopback operation on the HCA chip.
>
> To enable loopback I'm pretty sure you need an IB link on the
> card, and a running SM to set the link the ACTIVE.

Also, bringing the link to active, etc. can be done via ibportstate if
you want to avoid SM for some reason. Also, you will need a loopback
plug or cable the port to something otherwise the link won't come up,
etc.

-- Hal

>
> Also, be aware that in my experience loopback is a special case on IB
> cards and the performance is not good, so testing in this manner may
> not be valid.
>
> If you have a dual port card you'd be better off connecting the ports
> together and doing your test from port 1 to port 2.
>
> Jason
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to