]> www.infradead.org Git - users/dwmw2/linux.git/commit
tools: usb: p9_fwd: add usb gadget packet forwarder script
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Sun, 1 Sep 2024 19:11:18 +0000 (21:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2024 07:57:08 +0000 (09:57 +0200)
commit673f0c3ffc75166317ca5edb66ff35eaa6a12149
tree5b4c503db210818a0ef0fbca5200c2275d192830
parenta3be076dc174d9022a71a12554feb4c97b5c4d5c
tools: usb: p9_fwd: add usb gadget packet forwarder script

This patch is adding an small python tool to forward 9pfs requests
from the USB gadget to an existing 9pfs TCP server. Since currently all
9pfs servers lack support for the usb transport this tool is an useful
helper to get started.

Refer the Documentation section "USBG Example" in
Documentation/filesystems/9p.rst on how to use it.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Tested-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Link: https://lore.kernel.org/r/20240116-ml-topic-u9p-v12-3-9a27de5160e0@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/filesystems/9p.rst
tools/usb/p9_fwd.py [new file with mode: 0755]