kernel: add vhost-net module
authorMathew McBride <matt@traverse.com.au>
Mon, 21 Aug 2023 06:10:35 +0000 (06:10 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 26 Aug 2023 12:08:10 +0000 (14:08 +0200)
commitd188db8aed74547f98b905254d4f57baf225f1d6
tree97b54a51a618306ed7632385afd7f3771490acb4
parent3210aa8e0a113cc4354628b08b608c5c8f792941
kernel: add vhost-net module

vhost-net is used to accelerate traffic to virtualisation
guests that use the virtio-net network card in QEMU.

Generally it is invoked by specifying "vhost=on" to a
QEMU -netdev device:

qemu-system-aarch64 -nographic -M virt -cpu host \
        --enable-kvm -bios u-boot.bin -smp 1 -m 2048 \
        -drive file=openwrt-armsr-armv8.img,format=raw,index=0,media=disk \
        -device "virtio-net,netdev=landev,disable-legacy=off,disable-modern=off" \
        -netdev "tap,id=landev,helper=/usr/lib/qemu-bridge-helper --br=br-lan,vhost=on"

Signed-off-by: Mathew McBride <matt@traverse.com.au>
package/kernel/linux/modules/virt.mk