diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_iba7322.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba7322.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c index abd218d429fe..e22735402649 100644 --- a/drivers/infiniband/hw/qib/qib_iba7322.c +++ b/drivers/infiniband/hw/qib/qib_iba7322.c | |||
@@ -4083,10 +4083,12 @@ static void qib_update_7322_usrhead(struct qib_ctxtdata *rcd, u64 hd, | |||
4083 | */ | 4083 | */ |
4084 | if (hd >> IBA7322_HDRHEAD_PKTINT_SHIFT) | 4084 | if (hd >> IBA7322_HDRHEAD_PKTINT_SHIFT) |
4085 | adjust_rcv_timeout(rcd, npkts); | 4085 | adjust_rcv_timeout(rcd, npkts); |
4086 | qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); | ||
4087 | qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); | ||
4088 | if (updegr) | 4086 | if (updegr) |
4089 | qib_write_ureg(rcd->dd, ur_rcvegrindexhead, egrhd, rcd->ctxt); | 4087 | qib_write_ureg(rcd->dd, ur_rcvegrindexhead, egrhd, rcd->ctxt); |
4088 | mmiowb(); | ||
4089 | qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); | ||
4090 | qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); | ||
4091 | mmiowb(); | ||
4090 | } | 4092 | } |
4091 | 4093 | ||
4092 | static u32 qib_7322_hdrqempty(struct qib_ctxtdata *rcd) | 4094 | static u32 qib_7322_hdrqempty(struct qib_ctxtdata *rcd) |