]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit099e8760dad7bc966d53dd8816dea667cfc062ef
treeb7c0eebe3f7a44c57ede96c41db2812e4920f4f6
parent182de9d098f5c0b3c3c222b15f03851d695915da
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