nfp: fix Tx queue reset
When using start-stop functionality the per queue fields need to
be properly reset.
Fixes: b812daadad
("nfp: add Rx and Tx")
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
This commit is contained in:
parent
323fc9bace
commit
5cc9ad56c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user