|
@@ -708,7 +708,7 @@ u32 hfi1_make_grh(struct hfi1_ibport *ibp, struct ib_grh *hdr,
|
|
return sizeof(struct ib_grh) / sizeof(u32);
|
|
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
|
|
* build_ahg - create ahg in s_ahg
|