vmxnet3: Record queue number to incoming packets
authorAndrey Turkin <andrey.turkin@gmail.com>
Sun, 17 Jul 2022 02:20:50 +0000 (02:20 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jul 2022 03:38:53 +0000 (20:38 -0700)
commitbdeed8b0958cbe126fcc4a4945308907f44cc8a9
tree50cb29ed5d106aa9483a460f3b00a8a88f4cdb03
parent3e7380bb870bfdbe4f6cd2020b3768f0f9a3ada2
vmxnet3: Record queue number to incoming packets

Make generic XDP processing attribute packets to their actual
queues instead of queue #0. This improves AF_XDP performance
considerably since softirq threads no longer fight over single
AF_XDP socket spinlock.

Signed-off-by: Andrey Turkin <andrey.turkin@gmail.com>
Link: https://lore.kernel.org/r/20220717022050.822766-2-andrey.turkin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vmxnet3/vmxnet3_drv.c