[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <26c0cd9c-ad24-4b71-9a1a-d046b94d9333@linux.dev>
Date: Tue, 2 Sep 2025 12:27:29 +0100
From: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
To: Anton Nadezhdin <anton.nadezhdin@...el.com>,
intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org, anthony.l.nguyen@...el.com,
richardcochran@...il.com, Milena Olech <milena.olech@...el.com>,
Aleksandr Loktionov <aleksandr.loktionov@...el.com>,
Jakub Kicinski <kuba@...nel.org>, Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH iwl-next 2/2] idpf: add direct method for disciplining Tx
timestamping
On 02/09/2025 11:50, Anton Nadezhdin wrote:
> From: Milena Olech <milena.olech@...el.com>
>
> Currently IDPF supports only mailbox access to PHC operations and
> Tx timestamping, however the driver shall also be able to handle direct
> access. The difference is that PHC/timestamps actions are performed
> directly, through BAR registers, instead of sending a virtchnl message to
> CP. Registers offsets are negotiated with the CP during the capabilities
> negotiation.
>
> Signed-off-by: Milena Olech <milena.olech@...el.com>
> Co-developed-by: Anton Nadezhdin <anton.nadezhdin@...el.com>
> Signed-off-by: Anton Nadezhdin <anton.nadezhdin@...el.com>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@...el.com>
[...]
> -static void idpf_tx_read_tstamp(struct idpf_tx_queue *txq, struct sk_buff *skb)
> +static void idpf_tx_read_tstamp(struct idpf_tx_queue *txq, struct sk_buff *skb,
> + u32 buf_id)
> {
> struct idpf_ptp_vport_tx_tstamp_caps *tx_tstamp_caps;
> - struct idpf_ptp_tx_tstamp_status *tx_tstamp_status;
> + struct idpf_ptp_tx_tstamp_status *tx_tstamp_status = NULL;
this breaks reverse x-mass tree aligment...
> + enum idpf_ptp_access access;
> + int err;
Powered by blists - more mailing lists