Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-10 Thread Willem de Bruijn
On Tue, Feb 9, 2021 at 11:15 PM Jason Wang wrote: > > > On 2021/2/10 上午10:36, Willem de Bruijn wrote: > > On Tue, Feb 9, 2021 at 11:39 AM Michael S. Tsirkin wrote: > >> On Tue, Feb 09, 2021 at 01:45:11PM +0800, Jason Wang wrote: > >>> On 2021/2/9 上午2:55, Willem de Bruijn wrote: > From: Wille

Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-09 Thread Jason Wang
On 2021/2/10 上午10:36, Willem de Bruijn wrote: On Tue, Feb 9, 2021 at 11:39 AM Michael S. Tsirkin wrote: On Tue, Feb 09, 2021 at 01:45:11PM +0800, Jason Wang wrote: On 2021/2/9 上午2:55, Willem de Bruijn wrote: From: Willem de Bruijn Add optional PTP hardware tx timestamp offload for virtio-n

Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-09 Thread Jason Wang
On 2021/2/10 上午12:38, Michael S. Tsirkin wrote: On Tue, Feb 09, 2021 at 01:45:11PM +0800, Jason Wang wrote: On 2021/2/9 上午2:55, Willem de Bruijn wrote: From: Willem de Bruijn Add optional PTP hardware tx timestamp offload for virtio-net. Accurate RTT measurement requires timestamps close to

Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-09 Thread Willem de Bruijn
On Tue, Feb 9, 2021 at 11:39 AM Michael S. Tsirkin wrote: > > On Tue, Feb 09, 2021 at 01:45:11PM +0800, Jason Wang wrote: > > > > On 2021/2/9 上午2:55, Willem de Bruijn wrote: > > > From: Willem de Bruijn > > > > > > Add optional PTP hardware tx timestamp offload for virtio-net. > > > > > > Accurat

Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-09 Thread Michael S. Tsirkin
On Tue, Feb 09, 2021 at 01:45:11PM +0800, Jason Wang wrote: > > On 2021/2/9 上午2:55, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Add optional PTP hardware tx timestamp offload for virtio-net. > > > > Accurate RTT measurement requires timestamps close to the wire. > > Introduce vir

Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-09 Thread Willem de Bruijn
On Tue, Feb 9, 2021 at 4:43 AM Michael S. Tsirkin wrote: > > On Mon, Feb 08, 2021 at 01:55:57PM -0500, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Add optional PTP hardware tx timestamp offload for virtio-net. > > > > Accurate RTT measurement requires timestamps close to the wire.

Re: [PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-09 Thread Michael S. Tsirkin
On Mon, Feb 08, 2021 at 01:55:57PM -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > Add optional PTP hardware tx timestamp offload for virtio-net. > > Accurate RTT measurement requires timestamps close to the wire. > Introduce virtio feature VIRTIO_NET_F_TX_TSTAMP, the transmit > equi

Re: [PATCH RFC v2 3/4] virtio-net: support transmit 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 tx timestamp offload for virtio-net. Accurate RTT measurement requires timestamps close to the wire. Introduce virtio feature VIRTIO_NET_F_TX_TSTAMP, the transmit equivalent to VIRTIO_NET_F_RX_TSTAMP

[PATCH RFC v2 3/4] virtio-net: support transmit timestamp

2021-02-08 Thread Willem de Bruijn
From: Willem de Bruijn Add optional PTP hardware tx timestamp offload for virtio-net. Accurate RTT measurement requires timestamps close to the wire. Introduce virtio feature VIRTIO_NET_F_TX_TSTAMP, the transmit equivalent to VIRTIO_NET_F_RX_TSTAMP. The driver sets VIRTIO_NET_HDR_F_TSTAMP to re