IB/qib: Remove srq from qib
Remove srq from qib now that it has been moved into rdmavt. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
96ab1ac13f
commit
894c727b6a
@@ -251,14 +251,6 @@ struct qib_cq {
|
||||
struct rvt_mmap_info *ip;
|
||||
};
|
||||
|
||||
struct qib_srq {
|
||||
struct ib_srq ibsrq;
|
||||
struct rvt_rq rq;
|
||||
struct rvt_mmap_info *ip;
|
||||
/* send signal when number of RWQEs < limit */
|
||||
u32 limit;
|
||||
};
|
||||
|
||||
/*
|
||||
* qib specific data structure that will be hidden from rvt after the queue pair
|
||||
* is made common.
|
||||
@@ -539,11 +531,6 @@ static inline struct qib_cq *to_icq(struct ib_cq *ibcq)
|
||||
return container_of(ibcq, struct qib_cq, ibcq);
|
||||
}
|
||||
|
||||
static inline struct qib_srq *to_isrq(struct ib_srq *ibsrq)
|
||||
{
|
||||
return container_of(ibsrq, struct qib_srq, ibsrq);
|
||||
}
|
||||
|
||||
static inline struct rvt_qp *to_iqp(struct ib_qp *ibqp)
|
||||
{
|
||||
return container_of(ibqp, struct rvt_qp, ibqp);
|
||||
|
Reference in New Issue
Block a user