On Thu, 19 May 2022 15:33:34 +0800
Wenjun Wu <wenjun1...@intel.com> wrote:

>  
> +     if (dev->data->dev_conf.rxmode.offloads &
> +         RTE_ETH_RX_OFFLOAD_TIMESTAMP)
> +             rte_spinlock_init(&vf->phc_time_aq_lock);
> +

There is no reason this init needs to be only true with some flags.
Just always do it.

Reply via email to