rte_pmd_cnxk_mempool.h(3)
π NAME π
rte_pmd_cnxk_mempool.h β bestie, this is the header for the Marvell CNXK Mempool PMD's special little helper functions β¨ (it lives in the Library Functions Manual, section 3, iykyk)
πΈ SYNOPSIS πΈ
Okay so before you can use any of this, you gotta pull in the prerequisites, no skipping:
#include <rte_mbuf.h>
#include <rte_mempool.h>
π Functions
__rte_experimental int rte_pmd_cnxk_mempool_mbuf_exchange (struct rte_mbuf *m1, struct rte_mbuf *m2)__rte_experimental int rte_pmd_cnxk_mempool_is_hwpool (struct rte_mempool *mp)__rte_experimental int rte_pmd_cnxk_mempool_range_check_disable (struct rte_mempool *mp)
Detailed Description π
Marvell CNXK Mempool PMD specific functions.
And fr fr, that's where it lives β Definition in file rte_pmd_cnxk_mempool.h.
π¦ Function Documentation π¦
__rte_experimental int rte_pmd_cnxk_mempool_mbuf_exchange (struct rte_mbuf *m1, struct rte_mbuf *m2)
Not me introducing you to the swap queen π β this one exchanges mbufs between two mempools.
Parameters
m1β First mbufm2β Second mbuf
Returns
0 on success, a negative errno value otherwise.
__rte_experimental int rte_pmd_cnxk_mempool_is_hwpool (struct rte_mempool *mp)
The vibe check function π β it checks whether a mempool is a hwpool.
Parameters
mpβ Mempool to check.
Returns
1 if mp is a hwpool, 0 otherwise.
__rte_experimental int rte_pmd_cnxk_mempool_range_check_disable (struct rte_mempool *mp)
Turning off the safety rails π β this one disables buffer address range check on a mempool.
Parameters
mpβ Mempool to disable range check on.
Returns
0 on success, a negative errno value otherwise.
β¨ Author β¨
Generated automatically by Doxygen for DPDK from the source code. So like, not a human author, the robots did this one π€π
And that's the whole page, bestie β this manual page is DPDK, Version 25.11.3, and it's giving "generated docs that actually ate." Go forth and mempool responsibly π«ΆπΈ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms