net: mvneta: fix enable of all initialized RXQs
Subsystems (3)
PATCH 1/1 net: mvneta: fix enable of all initialized RXQs
From: Yelena Krivosheev <[email protected]>
In mvneta_port_up() we enable relevant RX and TX port queues by write queues bit map to an appropriate register.
q_map must be ZERO in the beginning of this process.
--- drivers/net/ethernet/marvell/mvneta.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/marvell/mvneta.c +1 -0
@@ -1132,6 +1132,7 @@ static void mvneta_port_up(struct mvneta_port *pp) }mvreg_write (pp,MVNETA_TXQ_CMD , q_map); + q_map =0 ;/* Enable all initialized RXQs. */ for (queue =0 ; queue < rxq_number; queue++) {struct mvneta_rx_queue *rxq = &pp->rxqs[queue];
Signature · 1 line
2.16.2
Hello,
Quoted 9 lines · Gregory CLEMENT
From: Yelena Krivosheev <[email protected]>
In
mvneta_port_up()we enable relevant RX and TX port queues by write queues bit map to an appropriate register.
q_mapmust be ZERO in the beginning of this process.Signed-off-by Yelena Krivosheev <[email protected]>Signed-off-by Gregory CLEMENT <[email protected]>
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
From: Gregory CLEMENT <[email protected]>
Date: Fri, 30 Mar 2018 12:05:31 +0200
Quoted 9 lines
From: Yelena Krivosheev <[email protected]>
In
mvneta_port_up()we enable relevant RX and TX port queues by write queues bit map to an appropriate register.
q_mapmust be ZERO in the beginning of this process.Signed-off-by Yelena Krivosheev <[email protected]>Signed-off-by Gregory CLEMENT <[email protected]>
Applied, thank you.