OSDN Git Service

net: mvneta: fix enable of all initialized RXQs
authorYelena Krivosheev <yelena@marvell.com>
Fri, 30 Mar 2018 10:05:31 +0000 (12:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:49:07 +0000 (07:49 +0200)
commit32eaa88eeef1557448027d66bf4f9d3f20795aaa
treebec1a81d62726a4802c7267a85601ea6990c9282
parent2d437f6601d4775cae86542408c2a177b1f6b4ee
net: mvneta: fix enable of all initialized RXQs

[ Upstream commit e81b5e01c14add8395dfba7130f8829206bb507d ]

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 <yelena@marvell.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/mvneta.c