]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8af94461fda484f6ca9ea590c4d162bf7821b7db
tree4a1b106253c48b8f2b31719ff94fc64f46badd80
parentb227b0973fbe8ad0195cf541530f2f7627b22cdb
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: 74333206c628 ("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