diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2019-05-29 15:59:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 14:31:13 -0700 |
commit | 21808437214637952b61beaba6034d97880fbeb3 (patch) | |
tree | a34d2d49a42e43ef2cba4bf40fd5cf1497440200 /net | |
parent | 9609dad263f8bea347f41fddca29353dbf8a7d37 (diff) | |
download | linux-21808437214637952b61beaba6034d97880fbeb3.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions