From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ubuntu (unknown [31.73.160.225]) by dpdk.org (Postfix) with ESMTP id 79BAC530A for ; Mon, 14 Mar 2016 11:39:04 +0100 (CET) Received: by ubuntu (Postfix, from userid 5466) id 23C33EA8DD; Mon, 14 Mar 2016 10:39:04 +0000 (GMT) From: Alejandro Lucero To: dev@dpdk.org Date: Mon, 14 Mar 2016 10:39:04 +0000 Message-Id: <1457951944-16143-1-git-send-email-alejandro.lucero@netronome.com> X-Mailer: git-send-email 1.7.9.5 Subject: [dpdk-dev] [PATCH] nfp: fix tx queue reset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2016 10:39:04 -0000 When using start-stop functionality the per queue fields need to be properly reset. Fixes: b812daadad0d (\"nfp: add Rx and Tx\") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 9c4f218..e1e014f 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -358,6 +358,7 @@ nfp_net_reset_tx_queue(struct nfp_net_txq *txq) txq->wr_p = 0; txq->rd_p = 0; txq->tail = 0; + txq->qcp_rd_p = 0; } static int -- 1.7.9.5