All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Bluetooth: virtio: improve RX handling
@ 2026-08-07 16:03 Igor Skalkin
  2026-08-07 16:03 ` [PATCH 1/2] Bluetooth: virtio: fix RX buffer size Igor Skalkin
  2026-08-07 16:03 ` [PATCH 2/2] Bluetooth: virtio: process RX buffers in virtqueue callback Igor Skalkin
  0 siblings, 2 replies; 4+ messages in thread
From: Igor Skalkin @ 2026-08-07 16:03 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz
  Cc: linux-bluetooth, linux-kernel, Trilok Soni, Igor Skalkin

This series fixes virtio Bluetooth RX buffer sizing, then reworks RX
processing to drain completed buffers directly from the virtqueue
callback and keep the RX ring populated.

Both patches were tested together against real Bluetooth hardware: a
host MediaTek USB controller exposed to a Linux guest through QEMU's
virtio-bt-pci device via HCI_CHANNEL_USER, not a stub or loopback
transport. The guest paired and bonded with a phone, ran SDP over
L2CAP to resolve its services, and exchanged the resulting HCI/ACL
traffic through the resized and reworked RX path with no drops,
crashes, or warnings observed.

The driver object builds with this series, and each patch passes
scripts/checkpatch.pl --strict independently.

Igor Skalkin (2):
  Bluetooth: virtio: fix RX buffer size
  Bluetooth: virtio: process RX buffers in virtqueue callback

 drivers/bluetooth/virtio_bt.c | 139 ++++++++++++++++++++++++++--------
 1 file changed, 108 insertions(+), 31 deletions(-)

-- 
2.53.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-07 17:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-07 16:03 [PATCH 0/2] Bluetooth: virtio: improve RX handling Igor Skalkin
2026-08-07 16:03 ` [PATCH 1/2] Bluetooth: virtio: fix RX buffer size Igor Skalkin
2026-08-07 17:08   ` Bluetooth: virtio: improve RX handling bluez.test.bot
2026-08-07 16:03 ` [PATCH 2/2] Bluetooth: virtio: process RX buffers in virtqueue callback Igor Skalkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.