OSDN Git Service

RDMA/qedr: Add support for iWARP in user space
authorKalderon, Michal <Michal.Kalderon@cavium.com>
Wed, 26 Jul 2017 11:41:57 +0000 (14:41 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Aug 2017 16:27:14 +0000 (12:27 -0400)
commit69ad0e7fe8452a6bc9b619e3f76a77f19d9687ab
tree53bef6a7468935cd6dfc8b5426d2cb1b0dc7b88c
parente411e0587e0ddb6dae69944fac72f5d15ca89507
RDMA/qedr: Add support for iWARP in user space

Pass the second doorbell offset to userspace in create_qp response.
Pbl allocation is different for RoCE and iWARP and requires
different handling. RoCE allocated the pbl and passes the pointer
to qed, where-as in iWARP, qed allocates the pbl and qedr
populates it after it returns

Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/verbs.c