[virtio-dev] [PATCH] virtio_net: support split header

2022-07-31 Thread Heng Qi
From: Xuan Zhuo The purpose of this feature is to split the header and the payload of the packet. |receive buffer| | 0th descriptor | 1th descriptor| | virtnet hdr | mac | ip hdr | tcp hdr|<-- hold -->|

[virtio-dev] [PATCH] virtio_net: support split header

2022-02-15 Thread Xuan Zhuo
The purpose of this feature is to write the payload of the packet to a specified location in the receive buffer after the device receives the packet. |receive buffer | | offset || | virtnet hdr |