[openib-general][PATCH] mthca & ib_verbs.h client reregister event support
Leonid Arsh
leonida at voltaire.com
Sun Apr 2 04:49:35 PDT 2006
Thank you for the corrections.
See also remarks below.
Muli Ben-Yehuda wrote:
> On Sun, Apr 02, 2006 at 02:08:48PM +0300, Leonid Arsh wrote:
>
>
>> struct ib_event {
>> Index: linux-kernel/infiniband/hw/mthca/mthca_eq.c
>> ===================================================================
>> --- linux-kernel/infiniband/hw/mthca/mthca_eq.c (revision 8504)
>> +++ linux-kernel/infiniband/hw/mthca/mthca_eq.c (working copy)
>> @@ -93,6 +93,7 @@
>> MTHCA_EVENT_TYPE_WQ_INVAL_REQ_ERROR = 0x10,
>> MTHCA_EVENT_TYPE_WQ_ACCESS_ERROR = 0x11,
>> MTHCA_EVENT_TYPE_SRQ_CATAS_ERROR = 0x12,
>> + MTHCA_EVENT_TYPE_CLIENT_REREGIST = 0x16,
>>
>
> Why not REREGISTER?
>
>
Right,
CLIENT_REREGIST was just the event name in the Mellanox VAPI based
driver. I'll change it here.
>> + case MTHCA_EVENT_TYPE_CLIENT_REREGIST:
>> + client_reregister_event(dev,
>> + (be32_to_cpu(eqe->event.port_change.port) >> 28) & 3);
>> + break;
>>
>
>
> 80 columns per line please.
>
> Cheers,
> Muli
>
More information about the general
mailing list