Commit c6992aa
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 5138059 commit c6992aa
File tree
3 files changed
+288
-121
lines changed- src/vmm/src/devices/virtio/net
3 files changed
+288
-121
lines changed
0 commit comments