> Reference implementation of the device side of VIRTIO_NET_F_RX_TSTAMP: if
> the configured vnet_hdr_sz covers the tstamp field, write the current
> TAI time into the header when a packet is handed to userspace or vhost.
> __tun_vnet_hdr_put() now takes the full struct virtio_net_common_hdr
> and copies as much of it as vnet_hdr_sz holds.
> 
> This is not intended to be merged. A full test needs a QEMU that knows
> the feature and sets the matching vnet_hdr_sz in
> virtio_net_set_mrg_rx_bufs(); see
> https://github.com/strumtrar/qemu/tree/v11.0.1/virtio-rx-stamps
> 
> Signed-off-by: Steffen Trumtrar <[email protected]>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/20261026-v6-7-topic-virtio-net-ptp-v4-0-008af03cd...@pengutronix.de?part=6


Reply via email to