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

Varghese, Vipin vipin.varghese at amd.com
Mon Sep 2 02:27:14 CEST 2024


<snipped>
>> +             "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.
Thank you Stephen, for pointing this out. Surely will convert to `C` 
rather than shell execution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240902/b1572da5/attachment.htm>


More information about the dev mailing list