Matthew Cover
8ebebcba55
tuntap: fix multiqueue rx
...
When writing packets to a descriptor associated with a combined queue, the
packets should end up on that queue.
Before this change all packets written to any descriptor associated with a
tap interface end up on rx-0, even when the descriptor is associated with a
different queue.
The rx traffic can be generated by either of the following.
1. a simple tap program which spins up multiple queues and writes packets
to each of the file descriptors
2. tx from a qemu vm with a tap multiqueue netdev
The queue for rx traffic can be observed by either of the following (done
on the hypervisor in the qemu case).
1. a simple netmap program which opens and reads from per-queue
descriptors
2. configuring RPS and doing per-cpu captures with rxtxcpu
Alternatively, if you printk() the return value of skb_get_rx_queue() just
before each instance of netif_receive_skb() in tun.c, you will get 65535
for every skb.
Calling skb_record_rx_queue() to set the rx queue to the queue_index fixes
the association between descriptor and rx queue.
Signed-off-by: Matthew Cover <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2018-11-18 19:05:43 -08:00
..
accessibility
acpi
acpi/nfit, x86/mce: Validate a MCE's address before using it
2018-11-06 19:13:26 +01:00
amba
android
ata
sata_rcar: convert to SPDX identifiers
2018-11-08 06:32:16 -07:00
atm
auxdisplay
The Compiler Attributes series
2018-11-01 18:34:46 -07:00
base
mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock
2018-10-31 08:54:17 -07:00
bcma
block
xen: fixes for 4.20-rc2
2018-11-10 08:58:48 -06:00
bluetooth
bus
cdrom
char
clk
clk: qcom: gcc: Fix board clock node name
2018-11-09 14:13:55 -08:00
clocksource
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2018-11-11 16:41:50 -06:00
connector
cpufreq
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
* skx_edac: Address translation for NVDIMMs (Tony Luck and Qiuxu Zhuo)
2018-11-02 11:17:22 -07:00
eisa
extcon
firewire
firmware
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2018-11-03 18:25:17 -07:00
fmc
fpga
fsi
gnss
gpio
gpu
drm: i915, amdgpu, sun4i, exynos and etnaviv fixes
2018-11-10 13:29:47 -06:00
hid
HID: asus: fix build warning wiht CONFIG_ASUS_WMI disabled
2018-11-06 13:57:42 +01:00
hsi
hv
hwmon
hwmon: (ibmpowernv) Remove bogus __init annotations
2018-11-04 15:55:12 -08:00
hwspinlock
hwtracing
i2c
i2c: nvidia-gpu: make pm_ops static
2018-11-09 17:56:44 +01:00
ide
idle
iio
infiniband
input
iommu
mm: remove include/linux/bootmem.h
2018-10-31 08:54:16 -07:00
ipack
irqchip
irqchip/irq-mvebu-sei: Fix a NULL vs IS_ERR() bug in probe function
2018-11-01 12:38:48 +01:00
isdn
Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2018-11-01 19:58:52 -07:00
leds
LED fixes for 4.20-rc2
2018-11-08 17:49:04 -06:00
lightnvm
macintosh
memblock: stop using implicit alignment to SMP_CACHE_BYTES
2018-10-31 08:54:16 -07:00
mailbox
mcb
md
for-linus-20181102
2018-11-02 11:25:48 -07:00
media
media updates for v4.20-rc1
2018-10-31 10:53:29 -07:00
memory
memstick
message
mfd
chrome-platform for v4.20
2018-10-31 16:47:55 -07:00
misc
Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2018-11-01 19:58:52 -07:00
mmc
mtd
mtd: sa1100: avoid VLA in sa1100_setup_mtd
2018-11-06 10:38:17 +01:00
mux
net
tuntap: fix multiqueue rx
2018-11-18 19:05:43 -08:00
nfc
ntb
ntb: idt: Alter the driver info comments
2018-11-01 10:33:12 -04:00
nubus
nvdimm
nvme
for-linus-20181109
2018-11-09 16:31:51 -06:00
nvmem
of
Devicetree fixes for 4.20-rc:
2018-11-09 16:41:58 -06:00
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform
platform-drivers-x86 for v4.20-1
2018-11-01 08:42:21 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
s390/ism: clear dmbe_mask bit before SMC IRQ handling
2018-11-14 14:21:20 -08:00
sbus
scsi
Kbuild updates for v4.20 (2nd)
2018-11-03 10:47:33 -07:00
sfi
mm: remove include/linux/bootmem.h
2018-10-31 08:54:16 -07:00
sh
siox
slimbus
sn
soc
soc: ti: QMSS: Fix usage of irq_set_affinity_hint
2018-11-02 11:22:09 -07:00
soundwire
spi
spmi
ssb
staging
media updates for v4.20-rc1
2018-10-31 10:53:29 -07:00
target
SCSI misc on 20181102
2018-11-03 10:34:03 -07:00
tc
tee
thermal
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
2018-10-31 11:28:12 -07:00
thunderbolt
tty
TTY/Serial fixes for 4.20-rc2
2018-11-10 13:32:14 -06:00
uio
usb
usb: typec: ucsi: add support for Cypress CCGx
2018-11-09 18:49:59 +01:00
uwb
vfio
VFIO updates for v4.20
2018-10-31 11:01:38 -07:00
vhost
virtio, vhost: fixes, tweaks
2018-11-01 14:42:49 -07:00
video
fbdev changes for v4.20:
2018-10-31 11:41:37 -07:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
xen: fixes for 4.20-rc2
2018-11-10 08:58:48 -06:00
zorro
Kconfig
Makefile