summaryrefslogtreecommitdiffstats
path: root/src/vpp-api
AgeCommit message (Expand)AuthorFilesLines
2018-11-07Unresolved symbols in libvapiclientNeale Ranns1-0/+1
2018-11-05Provide return value for PAPI disconnect()Igor Mikhailov (imichail)2-1/+3
2018-11-05Alter logging semantics for VPP PAPI objectIgor Mikhailov (imichail)1-1/+1
2018-10-23c11 safe string handling supportDave Barach4-13/+14
2018-10-22PAPI: Add support for format/unformat functions.Ole Troan5-12/+247
2018-10-22stats: Add wrapper for vec_freeOle Troan3-0/+8
2018-10-18PAPI: Expose API enums to tests / applicationsOle Troan2-16/+43
2018-10-16PAPI: Add bool type support in vppapigen.Ole Troan1-0/+2
2018-10-16PAPI: Add timeout support for socket transportOle Troan1-3/+6
2018-10-09API: Spurious timeouts from timeout thread.Ole Troan1-13/+27
2018-10-03stat_client.c coverity error.Ole Troan1-2/+0
2018-10-02VPP-1440: clean up coverity warningsDave Barach1-0/+4
2018-10-02Stats: vpp_prometheus_export fixes.Ole Troan1-0/+4
2018-10-02PAPI: Use UNIX domain sockets instead of shared memoryOle Troan5-111/+332
2018-09-27Trivial: Cleanup some typos.Paul Vinciguerra1-1/+1
2018-09-27IPIP and IPv6 fragmentationOle Troan1-1/+2
2018-09-18STATS: Optimistic concurrency handling in Python library.Ole Troan1-4/+24
2018-09-18STATS: Add Python 3 support to vpp_stats.py.Ole Troan2-4/+4
2018-09-17STATS: Dynamically mapped shared memory segmentOle Troan5-264/+270
2018-09-11vapi: support VLAs in typedefsKlement Sekera2-28/+96
2018-09-07cmake: set packaging component for different filesDamjan Marion1-2/+11
2018-09-07VPP-API: Cancel timeout thread without sending READ_TIMEOUT message.Ole Troan1-8/+6
2018-09-07PAPI: Unpack embedded types with variable length arrays.Ole Troan3-36/+97
2018-09-03vapi: init clib mem heap on connect if neededKlement Sekera1-0/+4
2018-09-02STATS: Python binding to access VPP statistics and counters.Ole Troan4-8/+187
2018-09-02Switch to cmakeDamjan Marion2-97/+0
2018-08-30cmake: missing dependenciesDamjan Marion1-2/+2
2018-08-30cmake: a bit of packaging workDamjan Marion1-0/+1
2018-08-29STATS: stat_client updates.Ole Troan4-3/+447
2018-08-28VAPI: bugfixesKlement Sekera1-12/+8
2018-08-28cmake: add python apiDamjan Marion2-0/+33
2018-08-27VAPI: support enums & unionsKlement Sekera3-154/+283
2018-08-27cmake: Fix VAPI .hpp generationMohsin Kazmi2-2/+2
2018-08-27cmake: fix clang build and few minor fixesDamjan Marion1-1/+2
2018-08-27cmake: add vapi buildDamjan Marion5-12/+104
2018-08-26cmake: add add_vpp_library and add_vpp_executable macrosDamjan Marion1-4/+5
2018-08-25cmake: add more headers to the install listDamjan Marion1-0/+4
2018-08-23CSIT-1139: Implement parallel test executionjuraj.linkes1-1/+1
2018-08-20CMakeLists file for vpp-apiNeale Ranns1-0/+24
2018-08-16Edit some warning messages in vpp-api clientOndrej Fabry1-2/+2
2018-08-10Use IP address types on UDP encap APINeale Ranns1-1/+0
2018-08-09PAPI: Python 3.7 uses async keyword.Ole Troan1-11/+11
2018-08-09Fix "Old Style VLA" build warningsJuraj Sloboda1-0/+1
2018-08-07PAPI: Move unit tests to fix packaging issues.Ole Troan3-2/+2
2018-08-03PAPI: Union pad at the end of short fields instead of at head.Ole Troan4-9/+7
2018-08-01Move java api to extras/Damjan Marion111-10104/+0
2018-08-01Store USE_DLMALLOC in vppinfra/config.hDamjan Marion2-2/+2
2018-07-26VPP-API client: timeout thread loop variableNeale Ranns1-2/+5
2018-07-19PAPI: Remove logging calls from pack/unpackOle Troan1-18/+0
2018-07-18Add config option to use dlmalloc instead of mheapDave Barach4-8/+21
tm->last_main_loop_count = vm->main_loop_count; trace_apply_filter (vm); if (tm->trace_buffer_callback) (tm->trace_buffer_callback) ((struct vlib_main_t *) vm, (struct vlib_trace_main_t *) tm); } vlib_trace_next_frame (vm, r, next_index); pool_get (tm->trace_buffer_pool, h); do { b->flags |= VLIB_BUFFER_IS_TRACED; b->trace_handle = vlib_buffer_make_trace_handle (vm->thread_index, h - tm->trace_buffer_pool); } while (follow_chain && (b = vlib_get_next_buffer (vm, b))); } always_inline void vlib_buffer_copy_trace_flag (vlib_main_t * vm, vlib_buffer_t * b, u32 bi_target) { vlib_buffer_t *b_target = vlib_get_buffer (vm, bi_target); b_target->flags |= b->flags & VLIB_BUFFER_IS_TRACED; b_target->trace_handle = b->trace_handle; } always_inline u32 vlib_get_trace_count (vlib_main_t * vm, vlib_node_runtime_t * rt) { vlib_trace_main_t *tm = &vm->trace_main; vlib_trace_node_t *tn; int n; if (rt->node_index >= vec_len (tm->nodes)) return 0; tn = tm->nodes + rt->node_index; n = tn->limit - tn->count; ASSERT (n >= 0); return n; } always_inline void vlib_set_trace_count (vlib_main_t * vm, vlib_node_runtime_t * rt, u32 count) { vlib_trace_main_t *tm = &vm->trace_main; vlib_trace_node_t *tn = vec_elt_at_index (tm->nodes, rt->node_index); ASSERT (count <= tn->limit); tn->count = tn->limit - count; } /* Helper function for nodes which only trace buffer data. */ void vlib_trace_frame_buffers_only (vlib_main_t * vm, vlib_node_runtime_t * node, u32 * buffers, uword n_buffers, uword next_buffer_stride, uword n_buffer_data_bytes_in_trace); #endif /* included_vlib_trace_funcs_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */