]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:16:14 +0000 (20:16 +0100)
commita018c071de1413ff4e9585d4d8d848df7020bd7a
tree493acc2534117f957219354511b615ad1cbbbf92
parent443a71031e49e6ea342586ded25fbf01f91c43be
net: mvpp2: fix pkt coalescing int-threshold configuration

[ Upstream commit 4f374d2c43a9e5e773f1dee56db63bd6b8a36276 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c