]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/qedr: notify user application if DPM is supported
authorAmrani, Ram <Ram.Amrani@cavium.com>
Mon, 26 Jun 2017 16:05:05 +0000 (19:05 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 27 Jul 2017 12:59:52 +0000 (08:59 -0400)
commitb67e8fac39dc7cb6f8811fc3086ff22f4df5c886
tree71de6dd7a72915810ff6089327f189bccdc25955
parentf9d90e329c45a7e80e3c9b2df16cee7acf8de95d
RDMA/qedr: notify user application if DPM is supported

Direct Packet Mode support may be disabled, e.g, due to limited
resources. Notifying the user application prevents wasting cycles
on attempting to send these kind of packets.

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