[dpdk-dev] [PATCH v6 3/5] mbuf: create packet pool with external memory buffers

Stephen Hemminger stephen at networkplumber.org
Mon Jan 20 21:48:04 CET 2020


On Mon, 20 Jan 2020 19:16:24 +0000
Viacheslav Ovsiienko <viacheslavo at mellanox.com> wrote:

> +		((user_mbp_priv->flags & RTE_PKTMBUF_POOL_F_PINNED_EXT_BUF) ?
> +			sizeof(struct rte_mbuf_ext_shared_info) :
> +			user_mbp_priv->mbuf_data_room_size

Should rte_pktmbuf_data_room_size() be used, and have it return the
right value for external mbuf?


More information about the dev mailing list