aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/enic/vnic_cq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/vnic_cq.c')
-rw-r--r--drivers/net/enic/vnic_cq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_cq.c b/drivers/net/enic/vnic_cq.c
index b86d6ef8dad..0daa1c7073c 100644
--- a/drivers/net/enic/vnic_cq.c
+++ b/drivers/net/enic/vnic_cq.c
@@ -74,6 +74,8 @@ void vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable,
iowrite32(cq_message_enable, &cq->ctrl->cq_message_enable);
iowrite32(interrupt_offset, &cq->ctrl->interrupt_offset);
writeq(cq_message_addr, &cq->ctrl->cq_message_addr);
+
+ cq->interrupt_offset = interrupt_offset;
}
void vnic_cq_clean(struct vnic_cq *cq)