[openib-general] APM support in openib stack
Venkatesh Babu
venkatesh.babu at 3leafnetworks.com
Wed Oct 25 18:25:15 PDT 2006
All the patches are attached to the bugzilla bug reports.
Yes, it is possible to enhance ib_cm_init_qp_attr(), but it requires a
new parameter *alternate_path and changing it might break the
compatibility with the existing code. So I thought, it is better to add
new interface, so that it won't cause any interference with the existing
code. And also initializing QP attributes for rearming is slightly
different than initializing QP attributes for bringing it up.
Loading the alternate path may not necessarily indicate the failover. It
is just saying that alternate path is available. Failover actually
happens only when primary path's any components like local port or
remote port or switch port goes down. We should get some events when
this happens to cause the failover.
VBabu
Sean Hefty wrote:
>>I have implemented this interface and proposing this in bug#172. You
>>have to patch it manually to get it working.
>>
>>
>
>Can you post the patch to the list? If the functionality is needed, I'd like to
>queue it for 2.6.20. Although, I'd prefer if the existing ib_cm_init_qp_attr()
>routine were used with state handling instead of adding a new API routine.
>
>And thinking about it more, we might be able to use that call as the indication
>to the ib_cm to failover to the alternate path.
>
>- Sean
>
>
More information about the general
mailing list