src/dpdk/lib/librte_mbuf/rte_mbuf.h
static inline int
rte_pktmbuf_linearize(struct rte_mbuf *mbuf)
{
	if (rte_pktmbuf_is_contiguous(mbuf))
		return 0;
	return __rte_pktmbuf_linearize(mbuf);
}
/**
 * Linearize data in mbuf.
 *
 * This function moves the mbuf data in the first segment if there is enough
 * tailroom. The subsequent segments are unchained and freed.
 *
 * @param mbuf
 *   mbuf to linearize
 * @return
 *   - 0, on success
 *   - -1, on error
 */
Linearize data in mbuf.
This function moves the mbuf data in the first segment if there is enough
tailroom. The subsequent segments are unchained and freed.

@param mbuf
mbuf to linearize
@return
- 0, on success
- -1, on error
Linearize data in mbuf . This function moves the mbuf data in the first segment if there is enough tailroom . The subsequent segments are unchained and freed . @param mbuf mbuf to linearize @return - 0 on success - - 1 on error
static inline int
rte_pktmbuf_linearize(struct rte_mbuf *mbuf)
{
	if (rte_pktmbuf_is_contiguous(mbuf))
		return 0;
	return __rte_pktmbuf_linearize(mbuf);
}
static inline int rte_pktmbuf_linearize ( struct rte_mbuf * mbuf ) { if ( rte_pktmbuf_is_contiguous ( mbuf ) ) return 0 ; return __rte_pktmbuf_linearize ( mbuf ) ; }
Linearize data in mbuf.
Linearize data in mbuf .