RE: [PATCH V4 for-next 02/10] IB/core: Introduce Work Queue object and its verbs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Hey Yishai,
> >
> > What happens to posted RQ WRs when transitioning from RDY->RESET,
> > RDY->ERR, and ERR->RESET?
> > Shouldn't the state machine be defined more?
> 
> When the external RQ (i.e. WQ from type RQ) is moved to error/reset
> state it will behave similarly to the receive queue part of a QP when it
> enters error/reset state.
> 
> Specifically,
> When moving to RESET:
> RQ attributes are reset to the same values after the RQ was created.
> Outstanding Work Requests are removed from the queues without notifying
> the Consumer.
> 
> When Moving to ERR:
> RQ processing is stopped. Work Requests pending or in process are
> completed in error.
> 

Thanks for the explanation.  These semantics should be documented somewhere.

This series appears to me to be reasonable.  

Series Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>

Thanks,

Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux