]> git.proxmox.com Git - ceph.git/blobdiff - ceph/cmake/modules/patch-dpdk-conf.sh
import 15.2.0 Octopus source
[ceph.git] / ceph / cmake / modules / patch-dpdk-conf.sh
index 8da0ac293f0fc6aca97cec5ea9873b3334f19eb0..ad5bbf6a4e528dc4e01c19c3fb4b48b38cb2f560 100755 (executable)
@@ -17,6 +17,8 @@ machine=$1
 shift
 arch=$1
 shift
+numa=$1
+shift
 
 setconf CONFIG_RTE_MACHINE "${machine}"
 setconf CONFIG_RTE_ARCH "${arch}"
@@ -52,4 +54,4 @@ setconf CONFIG_RTE_TEST_PMD n
 setconf CONFIG_RTE_MBUF_REFCNT_ATOMIC n
 
 # balanced allocation of hugepages
-setconf CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES n
+setconf CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES "${numa}"