Skip to content

Commit

Permalink
DPDK_RTE: Add a weak definition for dpdk::qp_mempool_obj_size()
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
  • Loading branch information
Vlad Zolotarov authored and avikivity committed Feb 12, 2015
1 parent d82efca commit 5daa847
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/dpdk_rte.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void eal::init(cpuset cpus, boost::program_options::variables_map opts)
initialized = true;
}

uint32_t __attribute__((weak)) qp_mempool_obj_size() { return 0; }

size_t eal::mem_size(int num_cpus)
{
size_t memsize = 0;
Expand Down

0 comments on commit 5daa847

Please sign in to comment.