diff options
author | 2017-10-18 08:03:14 -0400 | |
---|---|---|
committer | 2017-10-18 22:24:22 +0000 | |
commit | fb353ce54efc3abf3c2ba7795d0c9bf7aed6df96 (patch) | |
tree | 3dcb4b8967dee2ab8adbfedf1a77c23c3b17fa66 /src/plugins/dpdk/main.c | |
parent | 7513c8c7d2ed702f346fd707eb2b76fce8657c1d (diff) |
CSIT-844: fix binary api rx pthread heap push/pop
We need to push/pop the rx pthread's heap without affecting other
thread(s).
Search clib_per_cpu_mheaps, locate an unused slot. Duplicate the main
thread heap pointer in that slot, and set __os_thread_index
appropriately.
Don't bail out of vpp_api_test with results pending, e.g. at the end
of a vpp_api_test script. Even though vpp will eventuallly
garbage-collect them, We don't want to leave allocated reply messages
lurking in the api message allocation rings...
This patch is a manual cherry-pick from gerrit 8862
Change-Id: If3c84abe61496905432bfa36767068bad4bd243b
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/dpdk/main.c')
0 files changed, 0 insertions, 0 deletions