On Fri, Feb 21, 2025 at 01:31:23PM +0100, Grzegorz Nitka wrote:
...
> +/**
> + * ice_pf_src_tmr_owned - Check if a primary timer is owned by PF
> + * @hw: pointer to HW structure
Sorry, I hit send for my previous email a little to early.
This should document @pf rather than @hw.
> + *
> + * Return: true if PF owns primary timer, false otherwise.
> + */
> +static inline bool ice_pf_src_tmr_owned(struct ice_pf *pf)
> +{
> + return pf->hw.func_caps.ts_func_info.src_tmr_owned &&
> + ice_is_primary(&pf->hw);
> +}
...