summaryrefslogtreecommitdiffstats
path: root/src/vlib
AgeCommit message (Expand)AuthorFilesLines
2018-09-12Add and enable u32x4_extend_to_u64x2_high for aarch64 NEON intrinsics.Sirshak Das1-1/+5
2018-09-09vlib: crash in linux_epoll_input_inline for accessing free file index [VPP-1412]Steven1-2/+31
2018-09-07Improve NTP / kernel time change event handlingDave Barach1-2/+14
2018-09-07cmake: set packaging component for different filesDamjan Marion1-1/+5
2018-09-07Silence warning over ignored return value (CID 187932)Chris Luke1-2/+2
2018-09-06Fix Telnet option processing issueChris Luke1-1/+8
2018-09-03Deprecate old buffer replication schemeDamjan Marion3-64/+16
2018-08-29STATS: stat_client updates.Ole Troan2-6/+7
2018-08-28vlib: add 'show node' and 'set node function' CLIDamjan Marion3-35/+262
2018-08-26cmake: add add_vpp_library and add_vpp_executable macrosDamjan Marion1-11/+5
2018-08-25Add int cast to fit '.*' printf expectationsPierre Pfister1-4/+5
2018-08-24Clean up packet tracer, especially "clear trace"Dave Barach3-25/+24
2018-08-24Rename struct mallinfo -> struct dlmallinfoDave Barach1-1/+1
2018-08-17CMake as an alternative to autotools (experimental)Damjan Marion1-0/+98
2018-08-14Run interior graph nodes before process nodesDave Barach1-14/+7
2018-08-13Multiarch handling in different constructor macrosDamjan Marion3-0/+46
2018-08-03vlib: avoid double process dispatchFlorin Coras1-1/+9
2018-08-01Improve cpu { coremask-% } configure optionYi He1-20/+4
2018-07-27128-bit SIMD version of vlib_get_buffersDamjan Marion1-0/+8
2018-07-23Buffer clone: copy opaque2Neale Ranns1-0/+2
2018-07-20Add congestion drop in interface handoffDamjan Marion3-21/+57
2018-07-20physmem: fix alloc when dlmaloc is usedDamjan Marion1-1/+5
2018-07-19Cleanup of handoff codeDamjan Marion1-0/+86
2018-07-18Add config option to use dlmalloc instead of mheapDave Barach6-18/+98
2018-07-12Fix debug CLI node recycling bugsDave Barach1-5/+26
2018-07-11threads: fix issue with setting main-core to 0Damjan Marion2-8/+15
2018-07-04Do not override skip-cores if set in startup.confDamjan Marion1-4/+2
2018-07-03Set main thread affinity before main heap is allocatedDamjan Marion1-7/+7
2018-07-02Add per-numa page allocation info to 'show memory'Damjan Marion1-2/+7
2018-06-30cli: Validate cli_file_index on quit commandSteve Shin1-0/+4
2018-06-27gcc8 and Wstringop-truncationMarco Varlese1-2/+4
2018-06-26add backtrace in unix_signal_handlerKingwel Xie1-9/+49
2018-06-21configurable per-dispatch-cycle sleepDave Barach3-2/+25
2018-06-15STATS: Add more hierarchy to counters.Ole Troan1-1/+1
2018-06-14Use __attribute__((weak)) references where necessaryDave Barach1-4/+17
2018-06-13Stat segment / client: show run" works nowDave Barach4-14/+44
2018-06-13add end of string for format name in unix_physmem_region_alloclollita liu1-1/+1
2018-06-13cli: 'restart' should close open files (VPP-1068)Chris Luke1-2/+17
2018-06-10cli: Disable XON/XOFF in the ttyChris Luke1-0/+4
2018-06-10cli: Fix reverse-line-wrap in terminals (VPP-1295)Chris Luke1-86/+195
2018-06-10cli: Fix off-by-one in the pagerChris Luke1-2/+2
2018-06-09Fix bug in vlib_buffer_free_from_ring_no_nextDamjan Marion1-1/+1
2018-06-08export counters in a memfd segmentDave Barach4-1/+82
2018-06-05VPP API: Memory traceOle Troan1-9/+49
2018-06-03dpdk: improve buffer alloc perfomanceDamjan Marion2-3/+0
2018-05-31fix missing void pointer explicit type castZhiyong Yang1-1/+1
2018-05-31Add src/vlib/config.h.in templateDamjan Marion1-0/+21
2018-05-29Add VLIB_NODE_FN() macro to simplify multiversioning of node functionsDamjan Marion2-0/+48
2018-05-29Fixed vlib_buffer_clone with stale chained buffersYoann Desmouceaux1-2/+7
2018-05-19log: Validate the size of vec in vlib_logMohsin Kazmi1-0/+1
/span> { if ((stat ("/dev/shm/vpe-api", &statb) < 0) || statb.st_ino == old_inode) { req->tv_sec = 0; req->tv_nsec = 100000 * 1000; /* 100 ms */ while (nanosleep (req, rem) < 0) *req = *rem; sleeps++; } else goto new_inode; } clib_error ("Timeout waiting for new inode to appear..."); return 5; new_inode: if (verbose && sleeps > 0) fformat (stdout, "Inode sleeps %d\n", sleeps); if (verbose) fformat (stdout, "New inode %u\n", statb.st_ino); /* * Step 6: remap the SVM database */ svmdb_client = svmdb_map (ma); pidp = svmdb_local_get_variable_reference (svmdb_client, SVMDB_NAMESPACE_VEC, "vpp_pid"); if (pidp == 0) { clib_error ("post_restart: 'vpp_pid' svm variable not found," "vpp did not restart?"); return 2; } sleeps = 0; /* * Step 7: wait for vpp to publish its new PID */ /* Spin for up to 15 seconds */ for (wait = 0; wait < 150; wait++) { if (*pidp && (*pidp != old_pid)) goto restarted; req->tv_sec = 0; req->tv_nsec = 100000 * 1000; /* 100 ms */ while (nanosleep (req, rem) < 0) *req = *rem; sleeps++; } clib_error ("Timeout waiting for vpp to publish pid after restart..."); return 4; restarted: /* Done... */ if (verbose && sleeps) fformat (stdout, "pid sleeps %d\n", sleeps); if (verbose) fformat (stdout, "New PID %d... Restarted...\n", *pidp); svmdb_unmap (svmdb_client); return 0; } int main (int argc, char **argv) { unformat_input_t i; int ret; clib_mem_init (0, 64ULL << 20); unformat_init_command_line (&i, argv); ret = restart_main_fn (&i); unformat_free (&i); return ret; } /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */