OSDN Git Service

RDMA/qedr: notify user application of supported WIDs
authorAmrani, Ram <Ram.Amrani@cavium.com>
Mon, 26 Jun 2017 16:05:06 +0000 (19:05 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 27 Jul 2017 12:59:52 +0000 (08:59 -0400)
commit67cbe3532c2cd84303a2073cedad6b8bcad13be3
tree430ebb83bac7b2a7689276d788a276568f284c9d
parentad84dad2160d5f36bb471b391462d651c887d693
RDMA/qedr: notify user application of supported WIDs

The number of supported WIDs, if they are supported at all, can be
limited due to resources. Notifying the user space application the
number of available WIDs allows it to utilize them correctly.

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