OSDN Git Service

net: mvpp2: fix pkt coalescing int-threshold configuration
authorStefan Chulski <stefanc@marvell.com>
Wed, 23 Dec 2020 18:35:21 +0000 (20:35 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Dec 2020 22:29:06 +0000 (14:29 -0800)
commit4f374d2c43a9e5e773f1dee56db63bd6b8a36276
tree4a1b106253c48b8f2b31719ff94fc64f46badd80
parentbb2cc7d7143f00717d4d9346817fc332bcf8ad2f
net: mvpp2: fix pkt coalescing int-threshold configuration

The packet coalescing interrupt threshold has separated registers
for different aggregated/cpu (sw-thread). The required value should
be loaded for every thread but not only for 1 current cpu.

Fixes: 213f428f5056 ("net: mvpp2: add support for TX interrupts and RX queue distribution modes")
Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Link: https://lore.kernel.org/r/1608748521-11033-1-git-send-email-stefanc@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c