On Thu, 19 May 2022 09:19:59 +0800
Wenjun Wu wrote:
> if (dev->data->dev_conf.rxmode.offloads &
> - RTE_ETH_RX_OFFLOAD_TIMESTAMP) {
> - if (iavf_get_phc_time(adapter)) {
> - PMD_DRV_LOG(ERR, "get physical time failed");
> - goto er
In multi-cores cases for RX timestamp offload, if packets arrive
too fast, aq command to get phc time will be pended.
This patch adds spinlock to fix this issue. To avoid phc time being
frequently overwritten, move related variables to iavf_rx_queue
structure, and each queue will handle timestamp
2 matches
Mail list logo