Skip to content

Commit e81b5e0

Browse files
yelenaKrdavem330
authored andcommitted
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: Yelena Krivosheev <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]> Acked-by: Thomas Petazzoni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b6cdbc8 commit e81b5e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/marvell/mvneta.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,7 @@ static void mvneta_port_up(struct mvneta_port *pp)
11321132
}
11331133
mvreg_write(pp, MVNETA_TXQ_CMD, q_map);
11341134

1135+
q_map = 0;
11351136
/* Enable all initialized RXQs. */
11361137
for (queue = 0; queue < rxq_number; queue++) {
11371138
struct mvneta_rx_queue *rxq = &pp->rxqs[queue];

0 commit comments

Comments
 (0)