diff options
author | Mathew McBride <matt@traverse.com.au> | 2023-08-21 06:10:35 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-09-16 21:00:38 +0200 |
commit | 5edeb1ee0c9484da0a0c07080f4bda4c33ab72bf (patch) | |
tree | 8ed563a4e59268967002497f281ff563bf1555a9 /target/linux/generic/PATCHES | |
parent | 68972704914915c47e9032588322322c6cc3e0aa (diff) | |
download | upstream-5edeb1ee0c9484da0a0c07080f4bda4c33ab72bf.tar.gz upstream-5edeb1ee0c9484da0a0c07080f4bda4c33ab72bf.tar.bz2 upstream-5edeb1ee0c9484da0a0c07080f4bda4c33ab72bf.zip |
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>
(cherry picked from commit d188db8aed74547f98b905254d4f57baf225f1d6)
Diffstat (limited to 'target/linux/generic/PATCHES')
0 files changed, 0 insertions, 0 deletions