Spdk/lib/env_dpdk
Dariusz Stojaczyk e110a0d1e6 env/dpdk: add support for DPDK 18.05 dynamic memory allocation
This brings DPDK 18.05 support and introduces
dynamic hugepage memory allocation.

The following is now possible:
    ./spdk_tgt -s 32
    rpc.py construct_malloc_bdev 128 512

or even:
    ./spdk_tgt -s 0

Note that if no -s param is given, DPDK will still
allocate all available hugepage memory.

This has been tested with DPDK 18.05-rc6.

Fixes #281

This is a cherry-pick of commit b6fce1912d from master.

Change-Id: I04e23cfcd8c0af913ed402a310fd596bc25d685c
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/410540
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/412868
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-05-30 00:07:04 +00:00
..
env_internal.h env_dpdk: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
env.c env: add malloc variants with DMA/shareable flags 2018-04-24 21:38:16 +00:00
env.mk env/dpdk: add support for DPDK 18.05 dynamic memory allocation 2018-05-30 00:07:04 +00:00
init.c app: add -g flag hinting dpdk to create just one hugetlbfs file 2018-03-27 21:23:53 -04:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env/dpdk: add support for DPDK 18.05 dynamic memory allocation 2018-05-30 00:07:04 +00:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_virtio.c bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
pci.c env_dpdk: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
threads.c env_dpdk: add an assert check for last core 2018-02-22 10:43:59 -05:00
vtophys.c env/dpdk: add support for DPDK 18.05 dynamic memory allocation 2018-05-30 00:07:04 +00:00