The patch was added to kernel_patches/fixes (ofed_1_2).

Regards,
Vladimir

Dotan Barak wrote:
> Allow the following QP state transition : reset --> reset.
>
> Signed-off-by: Dotan Barak <[EMAIL PROTECTED]>
> ---
>
> Index: gen2_devel_kernel/drivers/infiniband/hw/mthca/mthca_qp.c
> ===================================================================
> --- gen2_devel_kernel.orig/drivers/infiniband/hw/mthca/mthca_qp.c     
> 2007-01-08 16:14:25.000000000 +0200
> +++ gen2_devel_kernel/drivers/infiniband/hw/mthca/mthca_qp.c  2007-01-09 
> 11:34:42.000000000 +0200
> @@ -573,6 +573,11 @@ int mthca_modify_qp(struct ib_qp *ibqp, 
>               goto out;
>       }
>  
> +     if (cur_state == new_state && cur_state == IB_QPS_RESET) {
> +             err = 0;
> +             goto out;
> +     }
> +
>       if ((attr_mask & IB_QP_PKEY_INDEX) &&
>            attr->pkey_index >= dev->limits.pkey_table_len) {
>               mthca_dbg(dev, "P_Key index (%u) too large. max is %d\n",
>
>
>
> _______________________________________________
> openib-general mailing list
> [email protected]
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>   


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to