RDMA/qedr: Add 64KB PAGE_SIZE support to user-space queues
authorRam Amrani <Ram.Amrani@cavium.com>
Mon, 5 Jun 2017 13:32:27 +0000 (16:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Jun 2017 17:02:01 +0000 (13:02 -0400)
commite57bb6be5e095351086d3e6de9853a0763342535
treeb7c0eebe3f7a44c57ede96c41db2812e4920f4f6
parentdac2738607de3d2bb99bae91c9054a2d753af18b
RDMA/qedr: Add 64KB PAGE_SIZE support to user-space queues

Add 64KB PAGE_SIZE support to user-space CQ, SQ and RQ queues.
De-facto it means that code was added to translate 64KB
pages to smaller 4KB pages that the FW can handle. Otherwise,
the FW would wrap (or jump to the next page)  when reaching 4KB
while the user space library will continue on the same large page.

Note that MR code remains as is since the FW supports larger pages
for MRs.

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