session/svm: add want_tx_event flag to fifo

Have applications use explicit flag to request events from vpp when it
transmits from a full fifo.

Change-Id: I687c8f050a066bd5ce739d880eaec1f286038d95
Signed-off-by: Florin Coras <fcoras@cisco.com>
This commit is contained in:
Florin Coras
2018-09-17 22:09:02 -07:00
committed by Damjan Marion
parent 008dbe109c
commit 0e88e851e0
7 changed files with 59 additions and 51 deletions

View File

@ -19,9 +19,10 @@
#include <vppinfra/elog.h>
#define VCL_ELOG 0
#define VCL_DBG_ON 1
#define VDBG(_lvl, _fmt, _args...) \
if (vcm->debug > _lvl) \
if (VCL_DBG_ON && vcm->debug > _lvl) \
clib_warning ("vcl<w%d>: " _fmt, __vcl_worker_index, ##_args)
#define foreach_vcl_dbg_evt \