Re: [PATCH for-next] RDMA/hns: Support flush cqe for hip08 in kernel space

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

 



On Thu, Jul 19, 2018 at 08:23:01PM +0800, Yixian Liu wrote:

> +static void hns_roce_set_qps_to_err(struct hns_roce_dev *hr_dev, u32 qpn)
> +{
> +	struct hns_roce_qp *qp;
> +	struct ib_qp_attr attr;
> +	int attr_mask;
> +	int ret;
> +
> +	qp = __hns_roce_qp_lookup(hr_dev, qpn);
> +	if (!qp) {
> +		dev_warn(hr_dev->dev, "no qp can be found!\n");
> +		return;
> +	}
> +
> +	if (qp->ibqp.pd->uobject) {

All the places in this patch using pd->uobject should be just
qp->uobject

Jason
--
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