[dpdk-dev] [PATCH v2] examples/rxtx_callbacks: fix HW timestamp enable

Thomas Monjalon thomas at monjalon.net
Tue Jul 30 11:13:41 CEST 2019


30/07/2019 09:46, Harman Kalra:
> Since all PMDs doesn't implement per queue offload capabilities but
> supports RX timestamping and also since rx_offload_capa includes all
> rx_queue_offload_capa's. Hence moving the logic to enable HW timestamp
> via DEV_RX_OFFLOAD_TIMESTAMP flag before device configuration so that
> this application can work with all PMDs.
> 
> Fixes: cd1dadeb9b2a ("examples/rxtx_callbacks: support HW timestamp")
> Cc: barbette at kth.se
> 
> Signed-off-by: Harman Kalra <hkalra at marvell.com>
> Reviewed-by: Jerin Jacob <jerinj at marvell.com>
> ---
> V2:
> * More detailed commit message.

Applied, thanks.

Note: there is a discussion about dropping this example in next releases.





More information about the dev mailing list