dpdk/init - Add compatibility to non numa architecture 16/1116/3
authorChristophe Fontaine <christophe.fontaine@qosmos.com>
Fri, 13 May 2016 07:14:08 +0000 (07:14 +0000)
committerDamjan Marion <damarion@cisco.com>
Tue, 17 May 2016 19:15:15 +0000 (19:15 +0000)
commit144a90f2e1e60e9c194c61c25db406e6e5f542e9
treeed28e18510ad6b321db1e99ec258a72a7eb4c18c
parent2df2e999fb9408f041dcf300df0983b7ebe5433e
dpdk/init - Add compatibility to non numa architecture

On non numa aware platforms, the path "/sys/devices/system/node/node%u"
does not exist: the "free_hugepages" count is available in "/sys/kernel/mm/".

Change-Id: Id62018a2bd0937d267663699c620e89d02c26a72
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
vnet/vnet/devices/dpdk/init.c