diff options
author | Don Hiatt <don.hiatt@intel.com> | 2017-08-04 22:54:47 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-22 20:22:37 +0200 |
commit | 566d53a8264452ee75aa6eb1f2f1970391c1a271 (patch) | |
tree | 61ecda1d6d494bf759aa0b0eb445b0dd5f719584 /drivers/infiniband/hw/hfi1/verbs.h | |
parent | IB/hfi1: Add 16B RC/UC support (diff) | |
download | linux-566d53a8264452ee75aa6eb1f2f1970391c1a271.tar.xz linux-566d53a8264452ee75aa6eb1f2f1970391c1a271.zip |
IB/hfi1: Enhance PIO/SDMA send for 16B
PIO/SDMA send logic now uses the hdr_type field to determine
the type of packet that has been constructed. Based on the hdr_type,
certain things such as PBC flags, padding count and the LT extra
trailing bytes are determined.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/verbs.h')
-rw-r--r-- | drivers/infiniband/hw/hfi1/verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/verbs.h b/drivers/infiniband/hw/hfi1/verbs.h index b164298a51c6..56ead87a7f65 100644 --- a/drivers/infiniband/hw/hfi1/verbs.h +++ b/drivers/infiniband/hw/hfi1/verbs.h @@ -163,6 +163,7 @@ struct hfi1_pkt_state { unsigned long timeout; unsigned long timeout_int; int cpu; + u8 opcode; bool in_thread; bool pkts_sent; }; |