aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/stats
AgeCommit message (Collapse)AuthorFilesLines
2016-04-29Clean up per-thread mheap setup.Dave Barach1-1/+0
The stats thread was sharing the main mheap when we started at least one worker or I/O thread, but ran on its own mheap when we started 0 worker + io threads. Net of this change; if a VLIB_REGISTER_THREAD instance specifies a per-thread mheap, a per-thread mheap will be provided. Otherwise, threads share the main heap. The stats thread now uses the main heap. Simpler is better. Change-Id: I1fff0dd66ae8f7dfe44923f702734e2832b55b09 Signed-off-by: Dave Barach <dbarach@cisco.com>
2016-04-22Add clib_memcpy macro based on DPDK rte_memcpy implementationDamjan Marion1-3/+3
Change-Id: I22cb443c4bd0bf298abb6f06e8e4ca65a44a2854 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-02-02Set the thread name for the stats thread if a thread name prefix is given.Todd Foggoa1-0/+5
Change-Id: Ie66d29bfbf6d106e9c49fb4f3738b26798c3a63c Signed-off-by: Todd Foggoa <tfoggoa@cisco.com>
2015-12-08Initial commit of vpp code.Ed Warnicke2-0/+1013
Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke <eaw@cisco.com>