On Tue, Jun 10, 2025 at 01:11:59PM +0000, Soumyadeep Hore wrote:
> E830 adapters currently support Tx Time based queues.
> 
> Signed-off-by: Soumyadeep Hore <soumyadeep.h...@intel.com>
> ---
>  doc/guides/nics/ice.rst | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst
> index 77985ae5a2..f284c78290 100644
> --- a/doc/guides/nics/ice.rst
> +++ b/doc/guides/nics/ice.rst
> @@ -415,6 +415,24 @@ and add the ``--force-max-simd-bitwidth=64`` startup 
> parameter to disable vector
>  
>     examples/dpdk-ptpclient -c f -n 3 -a 0000:ec:00.1 
> --force-max-simd-bitwidth=64 -- -T 1 -p 0x1 -c 1
>  
> +Tx Packet Pacing
> +~~~~~~~~~~~~~~~~
> +
> +In order to deliver the timestamp with every packet, a special type of Tx 
> Host Queue is
> +used, the TS Queue. This feature is currently supported only in E830 
> adapters.
> +
> +The tx_offload ``RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP`` is used to enable 
> the feature.
> +In order to deliver timestamps internally ``set txtimes`` is used where 
> inter burst
> +and intra burst time interval in nsecs is provided.
> +For example:
> +
> +.. code-block:: console
> +
> +   dpdk-testpmd -a 0000:31:00.0 -c f -n 4 -- -i --tx-offloads=0x200000
> +   set fwd txonly
> +   set txtimes <inter_burst>,<intra_burst>
> +   start
> +

Thanks, this is good as an example for someone wanting to test out the
feature using testpmd. However, for someone wanting to use
send-on-timestamp in their application, is there already documentation
somewhere on how to use it via C APIs, and what mbuf fields to write with
what data? IF so, please link to it. If not, we need some summary of how to
use here.

Thanks,
/Bruce

Reply via email to