Commit 441ad56e authored by Tomasz Zawadzki's avatar Tomasz Zawadzki
Browse files

env_dpdk: disable DPDK telemetry



No component in SPDK uses DPDK telemetry, but having it on
creates additional pthread and socket file:
/var/run/dpdk/spdk_pid*/dpdk_telemetry.v2

The DPDK telemetry library still has to be compiled,
as many DPDK components have it as their dependency.

Signed-off-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I50bbfb72ee637e235b8b307039c4cbe0dd75813e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19449


Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 5fbe6ef9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -361,6 +361,14 @@ build_eal_cmdline(const struct spdk_env_opts *opts)
		}
	}

	/* Disable DPDK telemetry information by default, can be modified with env_context.
	 * Prevents creation of dpdk_telemetry socket and additional pthread for it.
	 */
	args = push_arg(args, &argcount, _sprintf_alloc("--no-telemetry"));
	if (args == NULL) {
		return -1;
	}

	/* Lower default EAL loglevel to RTE_LOG_NOTICE - normal, but significant messages.
	 * This can be overridden by specifying the same option in opts->env_context
	 */