diff options
author | 2017-07-10 15:06:17 +0200 | |
---|---|---|
committer | 2017-07-10 19:35:57 +0000 | |
commit | 04a7f05e91e919f51eaecaee476435484076655b (patch) | |
tree | b7cbd12430c4a16b6289300b5b604835791bd780 /src/tests | |
parent | 28160f38488743b8cee0a7bd62b432a9dd8f4bfd (diff) |
vlib: store buffer memory information in the buffer_main
Currently, buffer index is calculated as a offset to the physmem
region shifted by log2_cacheline size.
When DPDK is used we "hack" physmem data with information taken from
dpdk mempool. This makes physmem code not usable with DPDK.
This change makes buffer memory start and size independent of physmem
basically allowing physmem to be used when DPDK plugin is loaded.
Change-Id: Ieb399d398f147583b9baab467152a352d58c9c31
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions