DPDK  24.07.0
Functions
rte_pmd_cnxk_mempool.h File Reference
#include <rte_mbuf.h>
#include <rte_mempool.h>

Go to the source code of this file.

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.

Definition in file rte_pmd_cnxk_mempool.h.

Function Documentation

◆ 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
m1First mbuf
m2Second 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
mpMempool to check.
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
mpMempool to disable range check on.
Returns
0 on success, a negative errno value otherwise.