netdev-dpdk: create smaller mempools in case of failure
authorDaniele Di Proietto <diproiettod@vmware.com>
Thu, 12 Mar 2015 18:04:32 +0000 (18:04 +0000)
committerEthan Jackson <ethan@nicira.com>
Tue, 24 Mar 2015 21:52:01 +0000 (14:52 -0700)
commitda79ce2b71dd879e7f20fdddc715568f6a74185a
tree3ecc7aac7b2a8b03abba0989e1241b5b97dccee2
parent2f4298ce26b1130c63d2e8b21da13c22986bdeef
netdev-dpdk: create smaller mempools in case of failure

If rte_mempool_create() fails with ENOMEM, try asking for a smaller
mempools. This patch enables OVS DPDK to run on systems without 1GB
hugepages

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/netdev-dpdk.c