On Mon, 23 Nov 2026 12:26:26 +0000
Bruce Richardson <[email protected]> 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]);