Re: [PATCH v5 06/22] mbuf: add mbuf descriptor accessors

2024-02-24 Thread Thomas Monjalon
24/02/2024 09:21, Tyler Retzlaff: > Provide inline functions to access rearm data and rx descriptor fields > in rte_mbuf struct. [...] > +static inline > +uint64_t * > +rte_mbuf_rearm_data(struct rte_mbuf *m) > +{ > + RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != > +

[PATCH v5 06/22] mbuf: add mbuf descriptor accessors

2024-02-24 Thread Tyler Retzlaff
Provide inline functions to access rearm data and rx descriptor fields in rte_mbuf struct. Signed-off-by: Tyler Retzlaff --- lib/mbuf/rte_mbuf.h | 20 1 file changed, 20 insertions(+) diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index 04cde0f..7993730 100644 --- a