IB/hfi1: Add the TID second leg ACK packet builder
authorKaike Wan <kaike.wan@intel.com>
Thu, 24 Jan 2019 05:51:17 +0000 (21:51 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 5 Feb 2019 23:07:44 +0000 (18:07 -0500)
commit24c5bfeaf1e66efbc15cd9a6f5565c38d8cdb630
treec2bb374b877868c2b5e09b69edb39f67f6ce5982
parent70dcb2e3dc6aa827d74e09c830ea06c660274880
IB/hfi1: Add the TID second leg ACK packet builder

This patch adds the TID packet builder for the responder side, which
contains the state machine to build TID RDMA ACK packet for either
TID RDMA WRITE DATA or TID RDMA RESYNC packets.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@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