src/dpdk/lib/librte_eal/common/eal_common_memory.c
void
rte_mem_set_dma_mask(uint8_t maskbits)
{
	struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config;

	mcfg->dma_maskbits = mcfg->dma_maskbits == 0 ? maskbits :
			     RTE_MIN(mcfg->dma_maskbits, maskbits);
}
/*
 * Set dma mask to use when memory initialization is done.
 *
 * This function should ONLY be used by code executed before the memory
 * initialization. PMDs should use rte_mem_check_dma_mask if addressing
 * limitations by the device.
 */
Set dma mask to use when memory initialization is done.
This function should ONLY be used by code executed before the memory
initialization. PMDs should use rte_mem_check_dma_mask if addressing
limitations by the device.
Set dma mask to use when memory initialization is done . This function should ONLY be used by code executed before the memory initialization . PMDs should use rte_mem_check_dma_mask if addressing limitations by the device .
void
rte_mem_set_dma_mask(uint8_t maskbits)
{
	struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config;
	mcfg->dma_maskbits = mcfg->dma_maskbits == 0 ? maskbits :
			     RTE_MIN(mcfg->dma_maskbits, maskbits);
}
void rte_mem_set_dma_mask ( uint8_t maskbits ) { struct rte_mem_config * mcfg = rte_eal_get_configuration ( ) -> mem_config ; mcfg -> dma_maskbits = mcfg -> dma_maskbits == 0 ? maskbits : RTE_MIN ( mcfg -> dma_maskbits , maskbits ) ; }
Set dma mask to use when memory initialization is done.
Set dma mask to use when memory initialization is done .