Re: [PATCH RFC v2 2/4] virtio-net: support receive timestamp

2021-02-09 Thread Jason Wang
On 2021/2/9 下午9:53, Willem de Bruijn wrote: On Mon, Feb 8, 2021 at 11:13 PM Jason Wang wrote: On 2021/2/9 上午2:55, Willem de Bruijn wrote: From: Willem de Bruijn Add optional PTP hardware rx timestamp offload for virtio-net. Accurate RTT measurement requires timestamps close to the wire.

Re: [PATCH RFC v2 2/4] virtio-net: support receive timestamp

2021-02-09 Thread Willem de Bruijn
On Mon, Feb 8, 2021 at 11:13 PM Jason Wang wrote: > > > On 2021/2/9 上午2:55, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Add optional PTP hardware rx timestamp offload for virtio-net. > > > > Accurate RTT measurement requires timestamps close to the wire. > > Introduce virtio featur

Re: [PATCH RFC v2 2/4] virtio-net: support receive timestamp

2021-02-08 Thread Jason Wang
On 2021/2/9 上午2:55, Willem de Bruijn wrote: From: Willem de Bruijn Add optional PTP hardware rx timestamp offload for virtio-net. Accurate RTT measurement requires timestamps close to the wire. Introduce virtio feature VIRTIO_NET_F_RX_TSTAMP. If negotiated, the virtio-net header is expanded

[PATCH RFC v2 2/4] virtio-net: support receive timestamp

2021-02-08 Thread Willem de Bruijn
From: Willem de Bruijn Add optional PTP hardware rx timestamp offload for virtio-net. Accurate RTT measurement requires timestamps close to the wire. Introduce virtio feature VIRTIO_NET_F_RX_TSTAMP. If negotiated, the virtio-net header is expanded with room for a timestamp. A device may pass re