#include <rte_mbuf.h>
#include <rte_mempool.h>
Go to the source code of this file.
Marvell CNXK Mempool PMD specific functions.
Definition in file rte_pmd_cnxk_mempool.h.
◆ rte_pmd_cnxk_mempool_mbuf_exchange()
__rte_experimental int rte_pmd_cnxk_mempool_mbuf_exchange |
( |
struct rte_mbuf * |
m1, |
|
|
struct rte_mbuf * |
m2 |
|
) |
| |
Exchange mbufs between two mempools.
- Parameters
-
m1 | First mbuf |
m2 | Second mbuf |
- Returns
- 0 on success, a negative errno value otherwise.
◆ rte_pmd_cnxk_mempool_is_hwpool()
__rte_experimental int rte_pmd_cnxk_mempool_is_hwpool |
( |
struct rte_mempool * |
mp | ) |
|
Check whether a mempool is a hwpool.
- Parameters
-
- Returns
- 1 if mp is a hwpool, 0 otherwise.
◆ rte_pmd_cnxk_mempool_range_check_disable()
__rte_experimental int rte_pmd_cnxk_mempool_range_check_disable |
( |
struct rte_mempool * |
mp | ) |
|
Disable buffer address range check on a mempool.
- Parameters
-
mp | Mempool to disable range check on. |
- Returns
- 0 on success, a negative errno value otherwise.