summaryrefslogtreecommitdiff
path: root/net/dsa
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2019-05-29 15:59:48 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-30 14:31:13 -0700
commit21808437214637952b61beaba6034d97880fbeb3 (patch)
treea34d2d49a42e43ef2cba4bf40fd5cf1497440200 /net/dsa
parent9609dad263f8bea347f41fddca29353dbf8a7d37 (diff)
net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
MVPP2_TXQ_SCHED_TOKEN_CNTR_REG() expects the logical queue id but the current code is passing the global tx queue offset, so it ends up writing to unknown registers (between 0x8280 and 0x82fc, which seemed to be unused by the hardware). This fixes the issue by using the logical queue id instead. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions