WSL2-Linux-Kernel/drivers/net/xen-netback
Roger Pau Monne 58941cc742 xen-netback: use default TX queue size for vifs
[ Upstream commit 66cf7435a2 ]

Do not set netback interfaces (vifs) default TX queue size to the ring size.
The TX queue size is not related to the ring size, and using the ring size (32)
as the queue size can lead to packet drops.  Note the TX side of the vif
interface in the netback domain is the one receiving packets to be injected
to the guest.

Do not explicitly set the TX queue length to any value when creating the
interface, and instead use the system default.  Note that the queue length can
also be adjusted at runtime.

Fixes: f942dc2552 ('xen network backend driver')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-19 23:05:34 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
common.h xen/netback: don't do grant copy across page boundary 2023-04-05 11:24:59 +02:00
hash.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
interface.c xen-netback: use default TX queue size for vifs 2023-10-19 23:05:34 +02:00
netback.c xen/netback: Fix buffer overrun triggered by unusual packet 2023-08-08 19:58:35 +02:00
rx.c xen/netback: don't call kfree_skb() with interrupts disabled 2022-12-14 11:37:19 +01:00
xenbus.c xen-netback: only remove 'hotplug-status' when the vif is actually destroyed 2022-09-15 11:30:05 +02:00