On Mon, 23 Nov 2026 16:53:38 +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.
> >
>
> I thought about that, and thought it best to leave it as bool to allow for
> any future error checking we might need. The cast can be safely dropped,
> but I think some form of return value might be useful from this.
YAGNI
Since it is internal to the file, you can change API at will later
to return an int or whatever suits.