summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-10-18 08:03:14 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-10-18 22:24:22 +0000
commitfb353ce54efc3abf3c2ba7795d0c9bf7aed6df96 (patch)
tree3dcb4b8967dee2ab8adbfedf1a77c23c3b17fa66 /src/plugins
parent7513c8c7d2ed702f346fd707eb2b76fce8657c1d (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')
0 files changed, 0 insertions, 0 deletions