]> 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)
commit556363b473e97ec16fa4cb7afdff47982bcf390c
tree71de6dd7a72915810ff6089327f189bccdc25955
parentea8bd7fe4eec71379c6a09e6a25a9d44ab2a81c4
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