Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e81b5e01 authored by Yelena Krivosheev's avatar Yelena Krivosheev Committed by David S. Miller
Browse files

net: mvneta: fix enable of all initialized RXQs



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.

Signed-off-by: default avatarYelena Krivosheev <yelena@marvell.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6cdbc85
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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];