verbs.c (e00b64f7c54c4cbd88143bbd43e7c3d61a090e5c) verbs.c (b090c4e3a07c33ffdf95fb7601551b38fc2a4bbb)
1/* QLogic qedr NIC Driver
2 * Copyright (c) 2015-2016 QLogic Corporation
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 2601 unchanged lines hidden (view full) ---

2610 rdma_protocol_iwarp(&dev->ibdev, 1)) {
2611 qedr_idr_remove(dev, &dev->qpidr, qp->qp_id);
2612 kfree(qp);
2613 }
2614 return rc;
2615}
2616
2617struct ib_ah *qedr_create_ah(struct ib_pd *ibpd, struct rdma_ah_attr *attr,
1/* QLogic qedr NIC Driver
2 * Copyright (c) 2015-2016 QLogic Corporation
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 2601 unchanged lines hidden (view full) ---

2610 rdma_protocol_iwarp(&dev->ibdev, 1)) {
2611 qedr_idr_remove(dev, &dev->qpidr, qp->qp_id);
2612 kfree(qp);
2613 }
2614 return rc;
2615}
2616
2617struct ib_ah *qedr_create_ah(struct ib_pd *ibpd, struct rdma_ah_attr *attr,
2618 struct ib_udata *udata)
2618 u32 flags, struct ib_udata *udata)
2619{
2620 struct qedr_ah *ah;
2621
2622 ah = kzalloc(sizeof(*ah), GFP_ATOMIC);
2623 if (!ah)
2624 return ERR_PTR(-ENOMEM);
2625
2626 rdma_copy_ah_attr(&ah->attr, attr);

--- 1628 unchanged lines hidden ---
2619{
2620 struct qedr_ah *ah;
2621
2622 ah = kzalloc(sizeof(*ah), GFP_ATOMIC);
2623 if (!ah)
2624 return ERR_PTR(-ENOMEM);
2625
2626 rdma_copy_ah_attr(&ah->attr, attr);

--- 1628 unchanged lines hidden ---