[openib-general][PATCH] mthca & ib_verbs.h client reregister event support

Michael S. Tsirkin mst at mellanox.co.il
Sun Apr 2 05:48:53 PDT 2006


Quoting r. Leonid Arsh <leonida at voltaire.com>:
> Subject: [openib-general][PATCH] mthca & ib_verbs.h client reregister event support
> 
> Hello,
>   this is a patch implementing the kernel mode client reregister event support on MTHCA
>   (see the InfiniBand SPEC 1.2   14.4.11 Client Reregistration.)
> 
>   The patch handles the MTHCA event by scheduling an IB_EVENT_CLIENT_REREGISTER event.
>   We checked it on Mellanox PCI-Express HCAs with FW 4.7.0
>   on the kernel 2.6.15, on fabric with Voltaire SM and it worked fine.
> 
>   Note, some older FW didn't set ClientReregistration capability bit in the port info,
>   and the event wasn't generated.
> 
> Regards,
>    Leonid

Adding hardware-generated events has drawbacks as it increases the risk of the
even queue overrun.

Wouldn't pushing this event from mthca_mad.c be a better way to do this?  We
already do this from smp_snoop for LID and pkey change events. This way it will
work on any firmware.

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies



More information about the general mailing list