[dpdk-dev] nfp: fix tx queue reset
Commit Message
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 <alejandro.lucero@netronome.com>
---
drivers/net/nfp/nfp_net.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Mar 14, 2016 at 10:39:04AM +0000, Alejandro Lucero wrote:
> 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 <alejandro.lucero@netronome.com>
> ---
Applied to dpdk-next-net/rel_16_04
/Bruce
@@ -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