> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, June 25, 2021 12:34 PM
> To: Xueming(Steven) Li
> Cc: NBU-Contact-Thomas Monjalon ; dev@dpdk.org; Parav
> Pandit ; Ray Kinsella
> ; Neil Horman
> Subject: Re: [dpdk-dev] [RFC] bus/auxiliary:
On Thu, 11 Mar 2021 21:01:13 +0800
Xueming Li 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(le
> +/*
> + * Test whether the auxiliary device exist */ bool
> +auxiliary_exists(const char *name) {
> + DIR *dir;
> + char dirname[PATH_MAX];
> +
> + snprintf(dirname, sizeof(dirname), "%s/%s",
> + rte_auxiliary_get_sysfs_path(), name);
> + dir = opendir(rte_auxilia
3 matches
Mail list logo