33 #ifndef _RTE_MBUF_OFFLOAD_H_
34 #define _RTE_MBUF_OFFLOAD_H_
89 struct rte_pktmbuf_offload_pool_private {
90 uint16_t offload_priv_size;
113 unsigned cache_size, uint16_t priv_size,
int socket_id);
124 static inline uint16_t
127 struct rte_pktmbuf_offload_pool_private *priv =
130 return priv->offload_priv_size;
149 for (ol = m->offload_ops; ol != NULL; ol = ol->
next)
150 if (ol->
type == type)
172 for (ol_last = &m->offload_ops; ol_last[0] != NULL;
173 ol_last = &ol_last[0]->
next)
179 ol_last[0]->
next = NULL;
242 if (ol != NULL && ol->
mp != NULL)
263 if (
likely(priv_size >= size))
264 return (
void *)(ol + 1);
289 if (priv_data == NULL)
296 xform = xform->
next = --nb_xforms > 0 ? xform + 1 : NULL;