| rte_mbuf_pool_ops.h(3) | Library Functions Manual | rte_mbuf_pool_ops.h(3) |
rte_mbuf_pool_ops.h
int rte_mbuf_set_platform_mempool_ops (const char
*ops_name)
const char * rte_mbuf_platform_mempool_ops (void)
int rte_mbuf_set_user_mempool_ops (const char *ops_name)
const char * rte_mbuf_user_mempool_ops (void)
const char * rte_mbuf_best_mempool_ops (void)
RTE Mbuf Pool Ops
These APIs are for configuring the mbuf pool ops names to be largely used by rte_pktmbuf_pool_create(). However, this can also be used to set and inquire the best mempool ops available.
Definition in file rte_mbuf_pool_ops.h.
Set the platform supported pktmbuf HW mempool ops name
This function allow the HW to register the actively supported HW mempool ops_name. Only one HW mempool ops can be registered at any point of time.
Parameters
Returns
Get configured platform supported pktmbuf HW mempool ops name
This function returns the platform supported mempool ops name.
Returns
Set the user preferred pktmbuf mempool ops name
This function can be used by the user to configure user preferred mempool ops name.
Parameters
Returns
Get user preferred pool ops name for mbuf
This function returns the user configured mempool ops name.
Returns
Get the best mempool ops name for pktmbuf.
This function is used to determine the best options for mempool ops for pktmbuf allocations. Following are the priority order:
Returns
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |