]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
IB/hfi1: Rename hfi1_pio_header to hfi1_sdma_header.
authorDon Hiatt <don.hiatt@intel.com>
Mon, 25 Jul 2016 20:40:22 +0000 (13:40 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 20:00:58 +0000 (16:00 -0400)
hfi1_pio_header should really be called hfi1_sdma_header
as it is only used for sdma transmits.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/ruc.c
drivers/infiniband/hw/hfi1/verbs.c
drivers/infiniband/hw/hfi1/verbs.h
drivers/infiniband/hw/hfi1/verbs_txreq.h

index ea7977dc646e11668ca62fe5559196bd4f1a0fa4..48d5094f98e259b92fade72c37799f43ecfcec4e 100644 (file)
@@ -708,7 +708,7 @@ u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
        return sizeof(struct ib_grh) / sizeof(u32);
 }
 
-#define BTH2_OFFSET (offsetof(struct hfi1_pio_header, hdr.u.oth.bth[2]) / 4)
+#define BTH2_OFFSET (offsetof(struct hfi1_sdma_header, hdr.u.oth.bth[2]) / 4)
 
 /**
  * build_ahg - create ahg in s_ahg
index 2b3fa400c593870d59613df616a7d0c5e2ac95f8..67810e33f7544d17cafed30d7358d8a8d1d1ccba 100644 (file)
@@ -820,7 +820,7 @@ static int build_verbs_tx_desc(
        u64 pbc)
 {
        int ret = 0;
-       struct hfi1_pio_header *phdr = &tx->phdr;
+       struct hfi1_sdma_header *phdr = &tx->phdr;
        u16 hdrbytes = tx->hdr_dwords << 2;
 
        if (!ahg_info->ahgcount) {
index d44550fdd39fadec572979132537ff9d476a2e45..d1b101c5482898b59db32ea895e433ee9bc1ce92 100644 (file)
@@ -185,7 +185,7 @@ struct hfi1_ahg_info {
        u8 ahgidx;
 };
 
-struct hfi1_pio_header {
+struct hfi1_sdma_header {
        __le64 pbc;
        struct hfi1_ib_header hdr;
 } __packed;
index a1d6e0807f97161f5336120ab7e6d0ffdb175b4e..5660897593ba4444f43661cba45d1ee06102ad20 100644 (file)
@@ -56,7 +56,7 @@
 #include "iowait.h"
 
 struct verbs_txreq {
-       struct hfi1_pio_header  phdr;
+       struct hfi1_sdma_header phdr;
        struct sdma_txreq       txreq;
        struct rvt_qp           *qp;
        struct rvt_swqe         *wqe;