Re: [PATCH] RDMA/i40iw: set queue pair state when being queried

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

 



On Fri, Jun 28, 2019 at 02:16:13PM +0800, Liu, Changcheng wrote:
> 1. queue pair state should be clear when querying RDMA/i40iw state.
> attr is allocated from kmalloc with unclear value. resp.qp_state
> isn't clear if attr->qp_state isn't set.
> 2. attr->qp_state should be set to be iwqp->ibqp_state.
> 3. attr->cur_qp_state should be set to be attr->qp_state when querying
> queue pair state.
> 
> Signed-off-by: Changcheng Liu <changcheng.liu@xxxxxxxxxx>

Applied to for-next, with a reworded commit message:

    RDMA/i40iw: Set queue pair state when being queried
    
    The API for ib_query_qp requires the driver to set qp_state and
    cur_qp_state on return, add the missing sets.
    
    Fixes: d37498417947 ("i40iw: add files for iwarp interface")
    Signed-off-by: Changcheng Liu <changcheng.liu@xxxxxxxxxx>
    Acked-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>
    Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

Thanks,
Jason



[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