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

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 <>
Signed-off-by: default avatarGregory CLEMENT <>
Acked-by: default avatarThomas Petazzoni <>
Signed-off-by: default avatarDavid S. Miller <>
parent b6cdbc85
......@@ -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];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment