Re: [dpdk-dev] [PATCH v2 3/3] rxtx_callbacks: Add support for HW timestamp

2019-04-02 Thread Tom Barbette
Le 02/04/2019 à 20:22, Ferruh Yigit a écrit : Same comment as ethdev one, above code assume if driver announces 'DEV_RX_OFFLOAD_TIMESTAMP' capability, it have to implement 'read_clock' dev_ops, should it be the case? Write now only mlx implements it so this is not a problem at all, but I don't k

Re: [dpdk-dev] [PATCH v2 3/3] rxtx_callbacks: Add support for HW timestamp

2019-04-02 Thread Ferruh Yigit
On 3/27/2019 6:19 AM, Tom Barbette wrote: > Use rxtx callback to demonstrate a way to use rte_eth_read_clock to > convert the hardware timestamps to an amount of cycles. > > This allows to get the amount of time the packet spent since its entry > in the device. While the regular latency only shows