From: Alejandro Lucero Date: Mon, 14 Mar 2016 10:39:04 +0000 (+0000) Subject: nfp: fix Tx queue reset X-Git-Tag: spdx-start~7294 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5cc9ad56c2eaa07d9651a2e20ad42a09df26e37f;p=dpdk.git nfp: fix Tx queue reset 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 --- diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 898c884a97..8810704811 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -347,6 +347,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