[PATCH v2] app/testpmd: use burst IO for IEEE1588 forwarding

Stephen Hemminger stephen at networkplumber.org
Mon Nov 23 17:50:50 CET 2026


On Mon, 23 Nov 2026 12:26:26 +0000
Bruce Richardson <bruce.richardson at intel.com> wrote:

Since only called here:
>  static bool
> -ieee1588_packet_fwd(struct fwd_stream *fs)
> +ieee1588_process_packet(struct fwd_stream *fs, struct rte_mbuf *mb)
>  {

Make it void not bool

and drop the cast.

> +static bool
> +ieee1588_packet_fwd(struct fwd_stream *fs)
> +{
> +	struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
> +
> +	const uint16_t nb_rx = common_fwd_stream_receive(fs, pkts_burst, nb_pkt_per_burst);
> +	for (uint16_t i = 0; i < nb_rx; i++)
> +		(void)ieee1588_process_packet(fs, pkts_burst[i]);


More information about the stable mailing list