[RFC 1/2] eal: add llc aware functions

Stephen Hemminger stephen at networkplumber.org
Tue Aug 27 19:36:43 CEST 2024


On Tue, 27 Aug 2024 20:40:13 +0530
Vipin Varghese <vipin.varghese at amd.com> wrote:

> +		"ls -d /sys/bus/cpu/devices/cpu%u/cache/index[0-9] | sort  -r  | grep -m1 index[0-9] | awk -F '[x]' '{print $2}' "

NAK
Running shell commands from EAL is non-portable and likely to be flagged by security scanning tools.

Do it in C please.


More information about the dev mailing list