On 4/14/2025 3:45 AM, Milena Olech wrote:
> Tx timestamp capabilities are negotiated for the uplink Vport.
> Driver receives information about the number of available Tx timestamp
> latches, the size of Tx timestamp value and the set of indexes used
> for Tx timestamping.
>
> Add function to get the Tx timestamp capabilities and parse the uplink
> vport flag.
>
> Reviewed-by: Alexander Lobakin <[email protected]>
> Co-developed-by: Emil Tantilov <[email protected]>
> Signed-off-by: Emil Tantilov <[email protected]>
> Co-developed-by: Pavan Kumar Linga <[email protected]>
> Signed-off-by: Pavan Kumar Linga <[email protected]>
> Signed-off-by: Milena Olech <[email protected]>
> ---
> v10 -> v11: use one lock for both free/in-use latches lists, allocate
> each latch separately
> v7 -> v8: refactor idpf_for_each_vport, change a function that
> checks if Tx timestamp for a given vport is enabled
> v2 -> v3: revert changes in idpf_for_each_vport, fix minor issues
> v1 -> v2: change the idpf_for_each_vport macro
>
Reviewed-by: Jacob Keller <[email protected]>