Commit 7cd180d
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 4dc4a9b commit 7cd180d
File tree
3 files changed
+345
-121
lines changed- src/vmm/src/devices/virtio/net
3 files changed
+345
-121
lines changed
0 commit comments