numam-spdk/lib/env_dpdk
Dariusz Stojaczyk 75327bc67e env/dpdk: allow 0 requested memory size
Now that DPDK can reserve additional memory on the fly,
the initial requested memory only serves as preallocation
and it makes sense to request no preallocated memory.

Right now, passing `--mem-size 0` counterintuitively
tries to reserve all hugepages on the system.

Change-Id: I281900efc7bd0bbb7eed30161ba0b88e16195170
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/422241
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-15 17:43:30 +00:00
..
env_internal.h env_dpdk: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
env.c env: introduce spdk_memzone_reserve_aligned 2018-07-02 19:13:23 +00:00
env.mk env/dpdk: link with rte_kvargs by default 2018-08-15 17:43:30 +00:00
init.c env/dpdk: allow 0 requested memory size 2018-08-15 17:43:30 +00:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env_dpdk: fix mem_map translation for sizes >2MB 2018-07-06 22:36:22 +00:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c dpdk/pci: support DPDK 18.08 write combined PCI resources 2018-08-15 17:43:30 +00:00
pci_virtio.c dpdk/pci: support DPDK 18.08 write combined PCI resources 2018-08-15 17:43:30 +00:00
pci.c env: remove deprecated spdk_pci_get_device() 2018-05-10 19:40:22 +00:00
threads.c env_dpdk: add an assert check for last core 2018-02-22 10:43:59 -05:00
vtophys.c vtophys: fix vfio dma unmap range 2018-08-13 04:15:53 +00:00