verbs.h (82ffd0454bd9bd57780966d47bfd56d579dd4fb3) verbs.h (21a428a019c9a6d133e745b529b9bf18c1187e70)
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:

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

42 int index, union ib_gid *gid);
43
44int qedr_query_pkey(struct ib_device *, u8 port, u16 index, u16 *pkey);
45
46struct ib_ucontext *qedr_alloc_ucontext(struct ib_device *, struct ib_udata *);
47int qedr_dealloc_ucontext(struct ib_ucontext *);
48
49int qedr_mmap(struct ib_ucontext *, struct vm_area_struct *vma);
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:

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

42 int index, union ib_gid *gid);
43
44int qedr_query_pkey(struct ib_device *, u8 port, u16 index, u16 *pkey);
45
46struct ib_ucontext *qedr_alloc_ucontext(struct ib_device *, struct ib_udata *);
47int qedr_dealloc_ucontext(struct ib_ucontext *);
48
49int qedr_mmap(struct ib_ucontext *, struct vm_area_struct *vma);
50struct ib_pd *qedr_alloc_pd(struct ib_device *,
51 struct ib_ucontext *, struct ib_udata *);
52int qedr_dealloc_pd(struct ib_pd *pd);
50int qedr_alloc_pd(struct ib_pd *pd, struct ib_ucontext *uctx,
51 struct ib_udata *udata);
52void qedr_dealloc_pd(struct ib_pd *pd);
53
54struct ib_cq *qedr_create_cq(struct ib_device *ibdev,
55 const struct ib_cq_init_attr *attr,
56 struct ib_ucontext *ib_ctx,
57 struct ib_udata *udata);
58int qedr_resize_cq(struct ib_cq *, int cqe, struct ib_udata *);
59int qedr_destroy_cq(struct ib_cq *);
60int qedr_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);

--- 47 unchanged lines hidden ---
53
54struct ib_cq *qedr_create_cq(struct ib_device *ibdev,
55 const struct ib_cq_init_attr *attr,
56 struct ib_ucontext *ib_ctx,
57 struct ib_udata *udata);
58int qedr_resize_cq(struct ib_cq *, int cqe, struct ib_udata *);
59int qedr_destroy_cq(struct ib_cq *);
60int qedr_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);

--- 47 unchanged lines hidden ---