DPDK  19.11.14
Functions
rte_eal_memconfig.h File Reference
#include <stdbool.h>
#include <rte_compat.h>

Go to the source code of this file.

Functions

void rte_mcfg_mem_read_lock (void)
 
void rte_mcfg_mem_read_unlock (void)
 
void rte_mcfg_mem_write_lock (void)
 
void rte_mcfg_mem_write_unlock (void)
 
void rte_mcfg_tailq_read_lock (void)
 
void rte_mcfg_tailq_read_unlock (void)
 
void rte_mcfg_tailq_write_lock (void)
 
void rte_mcfg_tailq_write_unlock (void)
 
void rte_mcfg_mempool_read_lock (void)
 
void rte_mcfg_mempool_read_unlock (void)
 
void rte_mcfg_mempool_write_lock (void)
 
void rte_mcfg_mempool_write_unlock (void)
 
__rte_experimental void rte_mcfg_timer_lock (void)
 
__rte_experimental void rte_mcfg_timer_unlock (void)
 
__rte_experimental bool rte_mcfg_get_single_file_segments (void)
 

Detailed Description

This API allows access to EAL shared memory configuration through an API.

Definition in file rte_eal_memconfig.h.

Function Documentation

◆ rte_mcfg_mem_read_lock()

void rte_mcfg_mem_read_lock ( void  )

Lock the internal EAL shared memory configuration for shared access.

◆ rte_mcfg_mem_read_unlock()

void rte_mcfg_mem_read_unlock ( void  )

Unlock the internal EAL shared memory configuration for shared access.

◆ rte_mcfg_mem_write_lock()

void rte_mcfg_mem_write_lock ( void  )

Lock the internal EAL shared memory configuration for exclusive access.

◆ rte_mcfg_mem_write_unlock()

void rte_mcfg_mem_write_unlock ( void  )

Unlock the internal EAL shared memory configuration for exclusive access.

◆ rte_mcfg_tailq_read_lock()

void rte_mcfg_tailq_read_lock ( void  )

Lock the internal EAL TAILQ list for shared access.

◆ rte_mcfg_tailq_read_unlock()

void rte_mcfg_tailq_read_unlock ( void  )

Unlock the internal EAL TAILQ list for shared access.

◆ rte_mcfg_tailq_write_lock()

void rte_mcfg_tailq_write_lock ( void  )

Lock the internal EAL TAILQ list for exclusive access.

◆ rte_mcfg_tailq_write_unlock()

void rte_mcfg_tailq_write_unlock ( void  )

Unlock the internal EAL TAILQ list for exclusive access.

◆ rte_mcfg_mempool_read_lock()

void rte_mcfg_mempool_read_lock ( void  )

Lock the internal EAL Mempool list for shared access.

◆ rte_mcfg_mempool_read_unlock()

void rte_mcfg_mempool_read_unlock ( void  )

Unlock the internal EAL Mempool list for shared access.

◆ rte_mcfg_mempool_write_lock()

void rte_mcfg_mempool_write_lock ( void  )

Lock the internal EAL Mempool list for exclusive access.

◆ rte_mcfg_mempool_write_unlock()

void rte_mcfg_mempool_write_unlock ( void  )

Unlock the internal EAL Mempool list for exclusive access.

◆ rte_mcfg_timer_lock()

__rte_experimental void rte_mcfg_timer_lock ( void  )
Warning
EXPERIMENTAL: this API may change without prior notice

Lock the internal EAL Timer Library lock for exclusive access.

◆ rte_mcfg_timer_unlock()

__rte_experimental void rte_mcfg_timer_unlock ( void  )
Warning
EXPERIMENTAL: this API may change without prior notice

Unlock the internal EAL Timer Library lock for exclusive access.

◆ rte_mcfg_get_single_file_segments()

__rte_experimental bool rte_mcfg_get_single_file_segments ( void  )
Warning
EXPERIMENTAL: this API may change without prior notice

If true, pages are put in single files (per memseg list), as opposed to creating a file per page.