summaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest
AgeCommit message (Expand)AuthorFilesLines
2019-06-20buffers: fix crashKlement Sekera2-0/+92
2019-06-19vppinfra: fix rbtree node deleteFlorin Coras1-1/+5
2019-06-18session: fix memory out of bound issueLijian.Zhang1-0/+8
2019-06-18fib: fib api updatesNeale Ranns2-115/+116
2019-06-17session: use listener_handle instead of listener_indexNathan Skrzypczak1-1/+1
2019-05-27unittest: fix test crypto perf for AEAD algosDamjan Marion1-2/+3
2019-05-14svm: improve fifo segment prealloc supportFlorin Coras1-1/+114
2019-05-09add mactime plugin unit / code coverage testsDave Barach2-0/+182
2019-05-07svm: decouple fifo and default chunk allocationFlorin Coras1-13/+29
2019-05-07Add bihash statistics hookDave Barach1-1/+67
2019-05-03session/svm: apis for fifo shrinkingFlorin Coras1-0/+75
2019-05-03svm: basic support for fifo shrinkingFlorin Coras1-0/+400
2019-05-03svm: store normalized head/tail for fifoFlorin Coras1-2/+7
2019-04-30svm: more fifo refactor/cleanupFlorin Coras1-83/+83
2019-04-27svm: fix fifo tail/head/ooo logic for u32 wrapFlorin Coras1-12/+279
2019-04-26svm: fifo segment support for chunk allocationFlorin Coras1-5/+93
2019-04-25crypto: AES GCM IV length is always 12Damjan Marion1-2/+0
2019-04-25session: cleanup segment manager and fifo segmentFlorin Coras1-73/+73
2019-04-25unittest: AES GCM test cases cleanupDamjan Marion1-270/+126
2019-04-25crypto: improve key handlingDamjan Marion2-17/+32
2019-04-24svm: fifo ooo reads/writes with multiple chunksFlorin Coras1-16/+161
2019-04-24svm: move mq test to ut pluginFlorin Coras1-4/+101
2019-04-24session: remove unused fifo allo return valueFlorin Coras1-3/+1
2019-04-24svm: move fifo tests to ut pluginFlorin Coras1-0/+271
2019-04-23Enable 'test crash' command when running unittest plugin.Paul Vinciguerra1-0/+1
2019-04-19rbtree: add successor and predecessor functionsFlorin Coras1-4/+54
2019-04-19svm: move fifo tests to a separate fileFlorin Coras3-1160/+1199
2019-04-19svm: support addition of chunks to fifosFlorin Coras1-2/+135
2019-04-18svm: allow indirect fifo data chunksFlorin Coras2-4/+4
2019-04-16svm_fifo rework to avoid contention on cursizeSirshak Das1-2/+1
2019-04-16vppinfra: add basic rbtreeFlorin Coras2-0/+203
2019-04-15crypto: fix coverity warningsFilip Tehlar1-2/+5
2019-04-14crypto: add support for AES-CTR cipherfituldo2-1/+118
2019-04-11crypto: add more AES-GCM test casesFilip Tehlar1-1/+309
2019-04-11crypto: add performace test to unittest pluginDamjan Marion2-1/+197
2019-04-08fixing typosJim Thompson1-6/+6
2019-04-08vlib-punt: fix error node countingNeale Ranns1-5/+0
2019-04-07crypto: add support for AEAD and AES-GCMDamjan Marion8-204/+416
2019-04-02vppinfra: fix sparse_vec_index() returning non-zero index for some nonexisten...Andrew Yourtchenko2-0/+74
2019-03-28crypto: add vnet_crypto_op_init (...)Damjan Marion1-1/+1
2019-03-28Punt InfraNeale Ranns2-0/+403
2019-03-28Typos. A bunch of typos I've been collecting.Paul Vinciguerra2-3/+3
2019-03-22crypto: implement rfc4231 test casesFilip Tehlar4-2/+422
2019-03-22ADJ: more thorough link up checkNeale Ranns1-0/+3
2019-03-22tcp: improve handling of snd_nxtFlorin Coras1-2/+2
2019-03-22IPSEC: test for packet drop on sequence number wrapNeale Ranns2-0/+76
2019-03-20tests: implement crypto tests per RFC2202Filip Tehlar4-85/+416
2019-03-19crypto: introduce crypto infraDamjan Marion6-0/+661
2019-03-14TEST: link-state up/down notifications on FIB forwardingNeale Ranns2-0/+76
2019-03-13VPP-1576: fix a set of coverity warningsDave Barach1-0/+3
>elog_main, _e, _s->elog_track); \ ed->data = _s->vpp_handle; \ } #define VCL_EVT_EPOLL_CREATE_HANDLER(_s, _s_idx, ...) \ { \ VCL_EVT_SESSION_INIT_HANDLER (_s, _s_idx); \ ELOG_TYPE_DECLARE (_e) = \ { \ .format = "create epoll vep_idx: %d", \ .format_args = "i4", \ }; \ VCL_DECLARE_ETD (_s, _e, 1); \ ed->data[0] = _s_idx; \ } #define VCL_EVT_EPOLL_CTLADD_HANDLER(_s, _evts, _evt_data, ...) \ { \ ELOG_TYPE_DECLARE (_e) = \ { \ .format = "epoll_ctladd: events:%x data:%x", \ .format_args = "i4", \ }; \ struct { \ u32 events; \ u64 event_data; \ } * ed; \ ed = ELOG_TRACK_DATA (&vcm->elog_main, _e, _s->elog_track); \ ed->events = _evts; \ ed->event_data = _evt_data; \ } #define VCL_EVT_EPOLL_CTLDEL_HANDLER(_s, _vep_idx, ...) \ { \ ELOG_TYPE_DECLARE (_e) = \ { \ .format = "epoll_ctldel: vep:%d", \ .format_args = "i4", \ }; \ VCL_DECLARE_ETD (_s, _e, 1); \ ed->data[0] = _vep_idx; \ } #define vcl_elog_init(_vcm) \ { \ _vcm->elog_main.lock = clib_mem_alloc_aligned (CLIB_CACHE_LINE_BYTES, \ CLIB_CACHE_LINE_BYTES);\ _vcm->elog_main.lock[0] = 0; \ _vcm->elog_main.event_ring_size = _vcm->cfg.event_ring_size; \ elog_init (&_vcm->elog_main, _vcm->elog_main.event_ring_size); \ elog_enable_disable (&_vcm->elog_main, 1); \ } #define vcl_elog_stop(_vcm) \ { \ clib_error_t *error = 0; \ char *chroot_file = (char *) format (0, "%s/%d-%d-vcl-elog%c", \ _vcm->cfg.event_log_path, \ _vcm->my_client_index, \ getpid (), 0); \ error = elog_write_file (&_vcm->elog_main, chroot_file, \ 1 /* flush ring */ ); \ if (error) \ clib_error_report (error); \ clib_warning ("[%d] Event Log:'%s' ", getpid (), chroot_file); \ vec_free (chroot_file); \ } #define CONCAT_HELPER(_a, _b) _a##_b #define CC(_a, _b) CONCAT_HELPER(_a, _b) #define vcl_evt(_evt, _args...) CC(_evt, _HANDLER)(_args) #else #define vcl_evt(_evt, _args...) #define vcl_elog_init(_vcm) #define vcl_elog_stop(_vcm) #endif #endif /* SRC_VCL_VCL_DEBUG_H_ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */