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

Muli Ben-Yehuda mulix at mulix.org
Sun Apr 2 05:17:32 PDT 2006


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?

> +		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
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/




More information about the general mailing list