]> 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)
commit2b207707cb6eada9070358b19c7984a08a386209
treeb7c0eebe3f7a44c57ede96c41db2812e4920f4f6
parentf4b5ee875955d34dfc7e0c0e74b8874674df83f4
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