summaryrefslogtreecommitdiffstats
path: root/net/mptcp
diff options
context:
space:
mode:
authorGatis Peisenieks <gatis@mikrotik.com>2021-04-14 22:09:20 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-16 15:16:54 -0700
commita1150a04b7e8caee235e38996e042e1bcb1a6574 (patch)
tree499d81b02975ed5204a1cff5423e5e7f3d90af16 /net/mptcp
parent2576e5d31f0df37c8d2f037f2d6f9f0a73c45a7a (diff)
downloadlinux-a1150a04b7e8caee235e38996e042e1bcb1a6574.tar.bz2
atl1c: move tx cleanup processing out of interrupt
Tx queue cleanup happens in interrupt handler on same core as rx queue processing. Both can take considerable amount of processing in high packet-per-second scenarios. Sending big amounts of packets can stall the rx processing which is unfair and also can lead to out-of-memory condition since __dev_kfree_skb_irq queues the skbs for later kfree in softirq which is not allowed to happen with heavy load in interrupt handler. This puts tx cleanup in its own napi and enables threaded napi to allow the rx/tx queue processing to happen on different cores. The ability to sustain equal amounts of tx/rx traffic increased: from 280Kpps to 1130Kpps on Threadripper 3960X with upcoming Mikrotik 10/25G NIC, from 520Kpps to 850Kpps on Intel i3-3320 with Mikrotik RB44Ge adapter. Signed-off-by: Gatis Peisenieks <gatis@mikrotik.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp')
0 files changed, 0 insertions, 0 deletions