[dpdk-dev] [PATCH v2 1/2] librte_ether: ensure not overwrite device data in mp app

Pattan, Reshma reshma.pattan at intel.com
Tue Sep 20 18:48:20 CEST 2016


Hi,

> +
> +	if (dev_data_id == RTE_MAX_ETHPORTS) {
> +		RTE_PMD_DEBUG_TRACE("Reached maximum number of
> Ethernet ports by all "
> +				"the processes\n");
> +		return NULL;
> +	}
> +
> 

Can the log message be changed to ("Cannot allocate more than %d number of devices ", RTE_MAX_ETHPORTS).
Instead of mentioning about the processes?

Thanks,
Reshma


More information about the dev mailing list