1 From cbd799612eb1da02cefc6d43fe304e4434cdf8e5 Mon Sep 17 00:00:00 2001
2 From: John Lo <loj@cisco.com>
3 Date: Fri, 26 Feb 2016 12:54:27 -0500
4 Subject: [PATCH 2/2] Fix ENIC PMD problem with not sending the first packet on
8 drivers/net/enic/base/enic_vnic_wq.h | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/drivers/net/enic/base/enic_vnic_wq.h b/drivers/net/enic/base/enic_vnic_wq.h
12 index e3ea574..75fad22 100644
13 --- a/drivers/net/enic/base/enic_vnic_wq.h
14 +++ b/drivers/net/enic/base/enic_vnic_wq.h
15 @@ -48,7 +48,7 @@ static inline void enic_vnic_post_wq_index(struct vnic_wq *wq)
16 * stale descriptor fields.
19 - iowrite32(buf->index, &wq->ctrl->posted_index);
20 + iowrite32(buf->next->index, &wq->ctrl->posted_index);
23 static inline void enic_vnic_post_wq(struct vnic_wq *wq,