OSDN Git Service

IB/hfi1: Add a function to build TID RDMA READ response
authorKaike Wan <kaike.wan@intel.com>
Thu, 24 Jan 2019 03:31:12 +0000 (19:31 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 5 Feb 2019 22:53:55 +0000 (17:53 -0500)
commit1db21b50502856c1da5628e3644bd29710e928f0
treee5818e33fbb94e5ce437cfdc958cc4ddfd0d5a2b
parentd0d564a1caacc7f3f28f3e351ed89ed000e2de75
IB/hfi1: Add a function to build TID RDMA READ response

This patch adds the function to build TID RDMA READ response packet.
The previously received TID resource information will be used to
build the KDETH packet, which will direct the delivery of packet payload
by hardware.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/tid_rdma.c
drivers/infiniband/hw/hfi1/tid_rdma.h