[dpdk-dev] [RFC] bus/auxiliary: introduce auxiliary bus

Stephen Hemminger stephen at networkplumber.org
Fri Jun 25 06:34:19 CEST 2021


On Thu, 11 Mar 2021 21:01:13 +0800
Xueming Li <xuemingl at nvidia.com> wrote:

> +	AUXILIAR_LOG(DEBUG, "Auxiliary device %s on NUMA socket %i\n",
> +			dev->name, dev->device.numa_node);

Your log messages will be double spaced.
The macro is already  adding a new line.

> +
> +#define AUXILIAR_LOG(level, fmt, args...) \
> +	rte_log(RTE_LOG_ ## level, auxiliary_logtype_bus, "%s(): " fmt "\n", \
> +		__func__, ##args)


More information about the dev mailing list