OSDN Git Service

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)
commitad84dad2160d5f36bb471b391462d651c887d693
tree71de6dd7a72915810ff6089327f189bccdc25955
parent9c2d33d44dccfb0cdac987ddc3716527ebf971e0
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