diff options
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | 2011-01-11 04:42:21 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2011-01-11 04:42:21 +0300 |
commit | 19ede2e422496b2a064b9b22823c6afb66ff927b (patch) | |
tree | 5d440053d4662acd8f9a5dac227156878bd99db2 /drivers/infiniband/hw/qib/qib_iba6120.c | |
parent | aa7374ac19ca08715693b0a2d9f88f479af3ea7c (diff) | |
download | linux-19ede2e422496b2a064b9b22823c6afb66ff927b.tar.xz |
IB/qib: Fix interrupt mitigation
For SusieQ we need to write to the interrupt timer register before
updating the header queue head with interrupt count. This is to
ensure that the timer is enabled properly and a receive available
interrupt is delivered. Otherwise this interrupt can be lost if the
receiver header/eager queues are full before the timer is enabled.
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_iba6120.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba6120.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_iba6120.c b/drivers/infiniband/hw/qib/qib_iba6120.c index a5e29dbb9537..774dea897e9c 100644 --- a/drivers/infiniband/hw/qib/qib_iba6120.c +++ b/drivers/infiniband/hw/qib/qib_iba6120.c @@ -2074,7 +2074,7 @@ static void qib_6120_config_ctxts(struct qib_devdata *dd) } static void qib_update_6120_usrhead(struct qib_ctxtdata *rcd, u64 hd, - u32 updegr, u32 egrhd) + u32 updegr, u32 egrhd, u32 npkts) { qib_write_ureg(rcd->dd, ur_rcvhdrhead, hd, rcd->ctxt); if (updegr) |