02/10/2025 09:44, Morten Brørup: > > +#if RTE_MBUF_HISTORY_DEBUG > > + uint16_t requested_pkts = nb_pkts; > > + rte_mbuf_history_mark_bulk(tx_pkts, nb_pkts, > > RTE_MBUF_HISTORY_OP_TX); > > +#endif > > I think the compiler is clever enough to optimize away this if > rte_mbuf_history_mark_bulk() does nothing. So you can omit the "#if > RTE_MBUF_HISTORY_DEBUG". Also below.
OK let's do that.

