Commit f6b9f2e
committed
feat(net): add VIRTIO_NET_F_MRG_RXBUF support to virtio-net device
Implement VIRTIO_NET_F_MRG_RXBUF feature for VirtIO network device.
It allows receiving a single network frame into multiple descriptor
chains. The amount of descriptor chains (also known as heads) that were
used is written into the `virtio_net_hdr_v1` structure which is located
at the beginning of the guest buffer.
Signed-off-by: Egor Lazarchuk <[email protected]>1 parent ba59b1b commit f6b9f2e
File tree
3 files changed
+348
-121
lines changed- src/vmm/src/devices/virtio/net
3 files changed
+348
-121
lines changed
0 commit comments