Skip to content
Compare
Choose a tag to compare

Lots of new gadgets in this release: a Snabb driver for Intel AVF based Virtual Functions (virtualized NICs) such as provided by Intel X710 and XL710 based NICs, a new optimized Poptrie implementation for all your longest-prefix-match needs (lib.poptrie), VMDq support for Intel i350 based NICs, support for 256-bit AES keys in lib.ipsec, and much broader support for YANG language features in lib.yang. As usual, this release includes numerous additional small improvements, optimizations and bug fixes.

Changes

  • #1314 #1381 #1382 #1438 Additions , optimizations and bug fixes for lib.ipsec. New: support for AES 256 (256-bit keys).
  • #1443 Fixed a bug in statistics collection in apps.intel_mp (Intel 52899 driver)
  • #1442 Fixed a bug where belated opening of auditlog would fail due to initial JIT activity (open it earlier)
  • #1397 Added a fast, generic Poptrie implementation (lib.poptrie)
  • #1390 Fixed a bug that prevented shared packets from being released to the group when a process is stopped
  • #1416 Added support for YANG enumeration types to lib.yang
  • #1357 Various bug fixes and improvements to snabb loadtest
  • #1431 Fixed a bug in core.memory that caused SIGSEGV handling to fail to recent RedHat Linux distributions
  • #1427 Fixed a crash in snabb ipfix probe when the duration flag was not provided
  • #1423 lib.hash.siphash: improved compatibility with reference implementation
  • #1421 core.app: simplified loop structure of engine to help the JIT find better traces
  • #1353 Added VMDq support for Intel i350 based NICs to apps.intel_mp, and fixed some statistics collection bugs for i350/i210 based NICs
  • #1376 lib.yang: changed implementation to use native Lua number keys for parsed YANG data where possible
  • #1435 lib.yang: added support for unique, min/max, and choice keywords
  • #1436 apps.intel_mp: make sure PCI device is unbound from Linux driver before mapping its memory into the Snabb process (previous behavior caused crashes with recent Linux kernels, see issue #1286)
  • Igalia#1231 lib.fibers.timer: fixed a bug in timer event promotion
  • Igalia#1224 lib.yang: added support for if-feature expressions
  • #1448 Merged lwaftr release v2019.06.01 into Snabb
  • #1444 apps.intel_mp: added support for Tx->Rx MAC Loopback mode, and fixed related bugs
  • #1446 Added apps.intel_avf, a driver for Intel AVF capable NIC virtual functions (Intel X710, XL710, ...)
  • #1445 #1433 #1427 Various minor bug fixes and improvements
  • #1432 Bug fixes and improvements to SnabbBot, our CI robot

Contributors

Alexander Gall (4):

  • 5724ff2: lib.yang.schema: implement semantics for enumeration type
  • 4989b99: lib.yang.data: add test-case for enumeration type
  • 8c616b0: core.app: use implict pull/push loops in breathe()
  • edc07fc: lib.hash.siphash: add option to comply to reference implementation

Andy Wingo (28):

  • a805f92: Re-enable NUMA memory binding on newer kernels
  • 3809be2: Detect version mismatch when loading compiled YANG configurations
  • 69764b5: Remove bogus lwaftr benchmarking file
  • 7f2a1d2: Fix PCI affinity check for --preferred NUMA binding
  • a27d8b3: Add more system performance diagnostics
  • ecd443c: Detect irqbalance presence and suggest remedy
  • 9f7177b: Fix uninstall advice for irqbalance
  • e1af4f9: Improve snabb lwaftr run --help
  • a004e9a: Fixup to snabb lwaftr run --help
  • fbf585e: Refactor packetblaster lwaftr to re-use vlan, arp, ndp, v4v6
  • 7886344: Separate B4 and internet lwaftr load generation apps
  • 14c7255: Allow different IPv4 MAC addresses and VLAN tags; fix bugs
  • b63f196: Fix whitespace
  • 1b74cf9: Fix source IPv6 from B4, and better interleaving of streams
  • e7a60d3: Fix frame sizes. Update test files for fresh checksums. Allow for ordering differences between v4 and v6 packets. Stop in a more robust way.
  • 94d123a: Fix inc_ipv4
  • f1050ec: Start ingress drop monitor in grace period
  • bd822d9: Bump snabb-softwire-v2 revision dateD
  • 516306a: Add v2018.09.03 changelog
  • acd54d9: Update version to v2018.09.03
  • b4c9073: Fix promotion of lib.fibers.timer events from outer to inner wheel
  • 0e9e5d9: Make memory monitor a timer instead of an app
  • cc4acb5: Revert "lib.ptree: do not aggregate (ignore) counters that are symlinks"
  • 79075f5: Snabb lwAFTR 2019.06.01
  • 1577238: Fix markdown syntax
  • be06560: Add link to upstream release notes
  • a283e7b: Add link to YANG module
  • c2015ea: Fix release benchmarks to always specify CPU

Asumu Takikawa (1):

  • 8e8ad64: ipfix: fix done state checking in ipfix probe

Luke Gorrie (1):

  • 70dd879: README.md: Update Slack invite link

Max Rottenkolber (160):

  • 25a8d95: snabb_bot: delete $tmpdir on startup
  • 971627f: snabb_bot: configure git user name and email
  • 29e2303: snabb_bot: add timeout to cushion broken test cases
  • 6d1594a: snabb_bot: print SNABB_PCI_INTEL1G{0,1} / snabb_doc: set git user/email
  • 44f6ab0: snabb_doc: fixup git user/email config
  • 59b1b82: apps.ipsec: add tunnel mode esp app
  • 17e8c6c: snabbmark esp: add rudimentary PMU analysis
  • 461f195: lib.ipsec.aes_128_gcm: add rudimentary PMU profiling to selftest
  • 9d14b98: snabbmark esp: fix bug where packets of wrong size were constructed
  • 7f75dc1: snabbmark esp: minor changes
  • bb72e66: lib.ipsec: add missing licensing headers
  • 53ae8bd: lib.ipsec.esp: correct bogus note about IP fragment handling
  • 531170a: lib.ipsec.esp: avoid lib.protocol.* on the fast-path
  • 43d498a: lib.ipsec.esp: use full 16 (instead of 12) byte ICV
  • 66a0dbb: lib.ipsec.esp: keep lib.protocol.esp*
  • 65f0a75: snabb_bot: fix bug that compared benchmark results with wrong target
  • f49720a: snabb_bot: make checkout/merge more robust
  • 2814b7b: intel_mp: fix broken per queue stat accumulation
  • 9c4e3ee: intel_mp: VMDq support for i350
  • 33c0912: apps/intel_mp: RQDPC is actually an RC register on the i350
  • 283d6a8: loadtest find-limit: fix some edge cases and bugs
  • 90c3be7: snabb_bot: fix bug in benchmark regression testing
  • 32586f3: lib.yang.data: represent some number-keyed lists as Lua tables
  • 8269afe: lib.yang.binary: support number-keyed Lua tables in ad-hoc grammars
  • 07821cf: lib.yang.path_data: s/string_key/native_key
  • 796c177: lib.ipsec.esp: optimize padding by specializing for power of two
  • 5b86f94: lib.ipsec.esp: fix a packet leak in :resync()
  • 2bd39ae: intel_mp: fix 1G blast selftest via use of RateLimitedRepeater
  • 9ea857e: intel_mp: port more vmdq tests to 1G cards.
  • afc971b: intel_mp: revert queuing -> queueing spelling change from 9c4e3ee
  • 691b5a1: lib.yang.data: return single value from normalize_id
  • 1bff543: lib.yang.path_data: add unique restriction consistency checker
  • 5d00ae9: lib.yang.path_data: run consistency_checker in parser_for_grammar
  • c7a655e: lib.ptree: run consistency checker on initial_configuration
  • 1c9642e: core.packet: release packets to group freelist on shutdown
  • ac45e3f: lib.interlink: fix an off-by-one bug in the tostring method
  • 5533782: core.packet: do not append .freelist in freelist_create/open)
  • 78cf3c3: main.shutdown: unlink supervisor shm root
  • ace9b32: Revert "main.shutdown: unlink supervisor shm root"
  • c6b32f4: core.packet: require explicit initialization of packets freelist
  • 482c3a5: Work-in-progress implementation of Poptrie
  • 3234b1f: Add basic documentation for lib.poptrie
  • 9343b36: lib.poptrie: fix building empty RIB and repeated calls to build()
  • 4e48a25: lib.poptrie: refactor :build() into smaller methods...
  • 77cd0a7: lib.poptrie: implement direct pointing
  • b5fcbfb: lib.poptrie: do not print zero value leaves in fib_info
  • 92bc6c6: lib.poptrie: optimize build(), cover direct pointing in PMU analysis
  • 3fcc794: lib.poptrie: make s (bits used for direct pointing) configurable
  • db1320f: snabb_bot.sh: do not attempt to initialize submodules
  • 703eb9a: intel_mp: work around flaky mirror test on i350
  • ab77197: lib.yang.data: make table_native_key a bit easier to follow
  • 17871d4: lib.yang.binary: minor coding style change
  • d29763d: intel_mp: fix a bug in VMDq BAM (bcast accept) handling for the i350
  • 6be165e: intel_mp: add VMDq broadcast tests
  • 69b6ca1: intel_mp: fix selftest from the future
  • 7b52cf8: lib.yang.data: fix bug that prevented top-level choices being parsed
  • 0893b16: lib.yang.data: fix bug when parsing list members of choice cases
  • 5eb3857: lib.yang.data: correctly parse choice case short form.
  • 6ff14ef: lib.poptrie_lookup: incorporate peter’s suggestions
  • bed7ec2: lib.poptrie_lookup: comment formatting
  • ab0cfaf: lib.poptrie: extend to support lookup32/lookup128
  • 4e71680: lib.poptrie_lookup: fix bug where offset was not set correctly
  • 6211b05: lib.poptrie_lookup: optimize lookup128, prefer 32-bit operations
  • 4f8ed1f: dasm_x86: import ADX/BMU/FMA3 instruction support from LuaJIT:v2.1
  • 7283f71: lib.poptrie_lookup: use BMI2 instructions when available
  • 5ca4578: lib.poptrie: avoid cache thrashing in micro benchmark
  • 55f7788: lib.ptree.support: fix bug related to native table keys
  • 355b033: lib.poptrie: fix out of bounds read in add
  • 4c88093: lib.poptrie: avoid slow down incurred by ASM routines as upvalues
  • ff13dd2: !fixup previous commit
  • 2b613ad: lib.poptrie: reformulate extract
  • e22dcd8: lib.poptrie: add test scaffolding for testing different configs
  • 4e9379b: lib.poptrie: update a comment
  • 7f92167: lib.poptrie: cache generated ASM code
  • 8419101: lib.poptrie: expose micro-benchmark parameters via env vars
  • 6a684a9: lib.poptrie: fix up to previous commit
  • 125facd: lib.poptrie: update README
  • 1baf303: lib.yang.path_data: fix bug where key_ctype was preferred over native_key
  • 3f16ef7: snabb_doc.sh: support multiple tags pointing at the same commit.
  • 7a7110e: core/memory.c: fix mmap usage in SIGSEGV handler (see issue #1429)
  • f95e33b: scripts/dock.sh: do not expose unset environment variables
  • 6d888d0: snabb_bot.sh: run as many tests as possible, don't abort on failure
  • 718f8eb: lib.yang: implement min-elements and max-elements restrictions
  • 1d20f3c: apps.intel_mp: fix race condition in test_10g_counters.sh
  • 71ef55f: lib.yang.path_data: handle key_ctype in consistency check visitors
  • ab7e5cd: lib.yang.data: fix influxdb_printer_from_grammar to use native_key
  • c9adc44: lwaftr: iterate over native keyed tables with pairs
  • 64fa68b: lib.ptree.support.snabb-softwire-v2: translate native tables correctly
  • e80cf00: lib.yang.path_data: properly handle ctables in consistency checker
  • 0bfa3d4: lib.hardware.pci: separate PCI resource opening from memory mapping
  • 94c5630: lib.hardware.pci: reformulate shutdown for shared PCI resources
  • 817c8d7: core.lib: accept whitespace and error on missing bytes in hexundump
  • 6110b28: apps.keyed_ipv6_tunnel: fix hexundump usage
  • 59c767e: lib.ipsec.aes_128_gcm: use new hexundump capabilities
  • 7304f4b: lib.ipsec.aes_*: add support for AES256
  • 93ffd04: lib.ipsec.aes_*: reorganize, expose AES256-GCM to lib.ipsec.esp
  • 4add842: lib.ipsec.aes_gcm: document usage
  • fec6c57: lib.ipsec.aes_gcm_avx: support large AAD, extract AAD hashing
  • 51a1389: lib.ipsec.aes_gcm_avx: some edits and clarifications in comments
  • b4f12f0: apps.ipsec: extend Linux interop test to cover AES256
  • 06e7ac7: Fixup merge conflicts/gaps between 6881796 and cf8a711
  • f2d5b0e: lwaftr: instance.queue is now a native table (iterate using pairs)
  • dd9a69a: intel_avf: tweak tests for single port operation
  • 707aee5: lib.rrd: fix a bug due to implicit casting
  • 05be3a0: lwaftr/apps: add memory_info.MemoryLog app to log mem in use to RRD
  • 7d56e51: lwaftr: configure MemoryLog app for lwaftr instances
  • 286a31f: lwaftr: replace MemoryLog w/ MemoryCounter (ptree man. gen. rrd)
  • 848ed4a: lib.gauge: add SHM object type for gauge values
  • 77b1400: apps.lwaftr.memory_info: use lib.gauge to expose a gauge SHM object
  • 4c22c41: lib.pree: support aggregating and RRD generation for SHM gauges
  • 3dec0d3: core.main: open auditlog during initialization
  • 983094a: Add new ietf-softwire-br, ietf-softwire-common schemas
  • b019947: Add discontinuity-time to snabb-softwire-v2's softwire-state
  • a39495e: lwaftr: updates for draft-ietf-softwire-yang-16
  • d3a641d: ietf-softwire-br: temp. patch around unsupported if-feature bool exp
  • b188164: program.lwaftr.tests.propbased.genyang: fix a bug wrt empty structs
  • 2e51c86: lib.ptree.support.snabb-softwrite-v2: add test cases, fix bugs
  • d6b6ea0: lwaftr: map ietf instance name to (singleton) lwaftr name
  • 5a29720: lib.ptree: pass current config to translator.get_state
  • d3d1f04: lwaftr/tests/test_env.py: add opt. expected ret. code arg to run_cmd
  • 80ac638: lwaftr: add more test cases, bug fixes for support.snabb-softwire-v2
  • 7a17eba: snabb-softwire-v2.yang: declare softwire/b4-ipv6 unique
  • 189c482: src/Makefile: s/-/_/g in TESTMODS to allow selftests...
  • 7f00119: lib.ptree.support.snabb-softwire-v2: remove left over debug prints
  • fc0877e: lib.ptree.support.snabb-softwire-v2: fix error reporting bugs
  • 59d5f38: Revert "ietf-softwire-br: temp. patch around unsupported if-feature bool exp"
  • f8da9c7: lib.maxpc: add match.string
  • caf686d: lib.yang.schema: implement parsing of YANG 1.1 if-feature expressions
  • c3df85a: lib.yang.schema: remove debug tracing (see previous commit)
  • 2a73e9e: Add `snabb rrdcat' tool to summarize RRD archives
  • 7b9fb52: intel_mp: count total packets dropped in rxdrop counter
  • cb17d43: intel_mp: include sum of all queue drop counters in rxdrop
  • 433f716: snabb rrdcat: plot error lines only when bounds are known
  • 815ac59: intel_mp: implement mac_loopback option for 82599 chips
  • 8879ff0: intel_mp: Enable VM TX loopback in VMDq mode
  • cd528a6: intel_mp: fix ineffective null pointer test in 82599 transmit loop
  • 555e4c8: lib.ctable: avoid GC in lookup streamer
  • ac65ee0: BTLookupQueue: avoid cdata allocation by get_lookup
  • daf7bdb: lib.binary_search: cache and reuse generated variants
  • f7d0f8c: lwaftr.rangemap: cache and reuse entry types to avoid leak of ctypes
  • 616067e: lib.multi_copy: cache and reuse generated variants to avoid leaks
  • 83a8fd0: lib.hash.siphash: cache and reuse generated variants to avoid leaks
  • c170809: lib.ctable: remove redundant memoization of binary_search.gen
  • 06f8396: lib.yang, lib.ptree: cleanup temporary SHM files after use
  • 0f695d9: timers.ingress_drop_monitor: use app:get_rxstats() (was app:rxdrop())
  • 0c93c41: lib.ptree: do not aggregate (ignore) counters that are symlinks
  • 20c303c: Make previous commit (0c93c41) robust against races.
  • 775fd28: Revert "snabb-softwire-v2.yang: declare softwire/b4-ipv6 unique"
  • 791a8a9: snabb-softwire-v2: warn on duplicate b4-ipv6 when transl. to ietf
  • b3916a2: support.snabb-softwire-v2: make sure instances share no state
  • 6ec7fa2: apps.test.synth: fix some bugs in 4a04933 (add random_payload option)
  • 88d2a56: intel_avf: execute test via selftest.sh
  • f894983: intel_avf: minor cleanup
  • d1bd9fd: intel_avf: extend, and further document reset delay
  • fece51f: intel_avf: fix truncation of outbound packets
  • 3d47c0f: intel_avf: integrate with lib.hardware.pci device_info
  • 7f46305: intel_avf: async stats synchronization
  • 2bd2e4e: intel_avf: alias SHM direction to canoical pci/ location
  • ac97998: intel_avf: ensure RSS HENA caps are disabled
  • e231faa: intel_avf: add rxdrop()/txdrop() methods (used by loadtest)

Pete Bristow (9):

  • 31c8d78: Initial import of intel_avf driver
  • 4a04933: expand synth to generate random payloads and include a packet id, add apps.test.npackets an app that only sends n packets from input to output
  • e9ee3b9: add a back2back test to intel_avf
  • bde5725: Expand intel_avf/tests/back2back to test mbox_sr_stats and deliver 100million packets
  • cc9fd9a: Fix the issues in intel_avf discovered with the previous test.
  • ee2c688: roll back to mbox_sr and remove unexplained / untested sleep
  • 19b6164: add more tests and make sure they pass, add stop() support to app
  • f752f6d: FACTPS was missing a type parameter
  • e50404a: only allocate mbox queues if required
Compare
Choose a tag to compare

This long awaited release is the first Snabb to ship with RaptorJIT and runtime support for the Studio diagnostics environment. The Snabb top monitoring tool is replaced bya more interactive rewrite, and its basic SHM object listing functionality is spun out to the new snabb shm utility. In addition to bug fixes and optimizations, this release also includes improvements to lib.yang and our IPv6 fragmentation apps as well as support for current versions of nDPI.

Changes

  • #1316 Integrate RaptorJIT with Snabb
  • #1401 Merged lwAFTR release v2018.09.02
  • #1386 Add snabb shm: simple tool to print information about Snabb SHM objects
  • #1384 apps.ipv6.reassemble: add expiration of incomplete reassembly buffers
  • #1383 Add path MTU discovery to IPv6 fragmenter (apps.ipv6.fragment)
  • #1275 lib.checksum: optimize IP checksum computation using DynASM
  • #1368 Support nDPI 2.X in ljndpi
  • #1380 Fix a bug in apps.vhost.vhost_user with regard to NUL-termination
  • #1385 Move logger in core.lib to lib.logger
  • #1392 VlanMux: optimize tag pop/push (apps.vlan)
  • #1394 #1395 #1396 Ctype diversity related optimizations

Contributors

Alexander Gall (22):

  • 796597d: lj_trace.c: unpatch blacklisted bytecodes when flushing traces
  • 2ad6817: ipv6.reassembly: avoid packet cloning
  • 0463915: ipv6.reassembly: expire stale reassembly buffers
  • ffd584c: ipv6.reassembly: reduce scope of local variables in handle_fragment()
  • 66a7575: Add PMTUD to apps.ipv6.fragment
  • a9a4b72: ipv6.fragment: improve performance, reduce garbage
  • 7f0703a: ipv6.reassembly: perform reassembly in separate loop
  • dd9bb12: Refactor the logger facility
  • 2bbaa39: lib.tsc: cache calibration of rdtsc
  • 477b4c5: VlanMux: optimize tag pop/push
  • 8f76782: intel_mp: fix ctype diversity for txdesc_t
  • cff919c: packet: cast pointer arg in from_pointer()
  • f896458: datagram: canonicalize pointers in packet append() and prepend() calls
  • d06314c: lwaftr.ctable_wrapper: add cleanup function to random eviction
  • a44d8e1: apps.ipv6.fragment: canonicalize pointers, simplify ICMP matching
  • 4e28690: apps.ipv6.reassemble: fix packet leak
  • d7a51c6: apps.ipv6.reassemble: avoid spurious sort
  • 2e5b5e8: apps.ipv6.reassemble: copy header from first fragment
  • f7a00ff: apps.ipv6.fragment: fix bug in ICMP type match
  • 57cc280: apps.ipv6.reassemble: remove over-eager optimization of module operator
  • d054ec0: apps.ipv6.reassemble: use max_payload constant in packet size check
  • 69473eb: apps.ipv6.reassemble: fix check for valid packet length

Andy Wingo (122):

  • 634ab24: Remove duplicate lj_auditlog.c
  • 2914e5a: Make file-local auditlog variables static
  • 8119e5d: Remove references to the profiler, -jv, -jdump, and the like
  • bbd7635: Remove references to -jv, -jdump, and the like
  • 6943135: Revert "Merge pull request #1040 from lukego/dynasm-gc64-nocoerce"
  • a91e457: Add ring buffer module
  • 252257c: Add basic IO streams
  • 5ceb3c8: Add file stream implementation
  • ddb6a8e: Add full replacement for Lua's "io" module
  • fed2034: Move io.open implementation to lib.stream.file
  • 5ee5357: YANG output byte streams use new Lua streams
  • 311bea2: Move tmpfile() impl to file.lua; add optional perms arg
  • 8a0b098: More YANG output byte stream refactoring
  • 55deb49: Add some helper methods to Lua streams
  • b27a00c: Remove calls to :align() output to ffi natural sizes
  • a2fda31: Remove unused open_output_byte_stream function
  • 0e5f45f: Remove unused lwaftr rangemap load/save capabilities
  • a361697: Replace lib.yang streams with lib.stream streams
  • 0512a8f: Remove YANG streams
  • 810c81e: Add memory-backed stream implementation
  • 5d1b830: Migrate YANG and related libs away from ad-hoc string_io_file
  • 949e663: YANG syntax parser is now streaming
  • 7e45ce3: Fix use of undeclared variable (refactor residue)
  • 1a33991: Fix default EOL handling style
  • ce3b8ad: Fix error reporting in "listen" test
  • 3805a3a: Fix top-level scalar parsers to take stream as argument
  • ac8e74e: File streams query OS for appropriate block size
  • 91560fa: Adapt "snabb config listen" to streaming parse
  • 38f1ad4: Fix conversion of listen to streams
  • e135a02: call_with_output_string flushes stream
  • 4129dec: Add timer wheel
  • 1edd231: Add fibers scheduler
  • 1d2e560: Add fibers
  • c6beee9: Add concurrent ML operations and channels
  • f9a37a6: Move sleep and timeout-related operations to sleep.lua
  • 18467fb: Add epoll wrapper
  • 28ca806: Rework complete tasks to be more centralized
  • 650f7c2: Add epoll-based nonblocking file I/O
  • 2974b06: Supervisor process restores blocking flags on stdin,stdout,stderr
  • 6bf7425: Add Concurrent ML buffered channel
  • 149360b: Convert "snabb config listen" over to use fibers
  • 2a5b526: Convert lib.ptree.trace to use new streams
  • e26a4b6: Adapt new JSON library to return nil on EOF
  • 19e422c: Rewrite "snabb config bench" to use fibers and new streams
  • a6654ce: Replace old ptree JSON library
  • e1b0324: Fix fibers sleep self-test
  • 70fde0b: Add sockets library that integrates with blocking handlers
  • fb7c091: Improve error handling in "snabb config" tools
  • 007be9b: Add support for orderly scheduler shutdown
  • 37053d2: Convert ptree manager to use fibers
  • 0d7d94a: Minor cleanup when reading string table
  • 7466c74: Fix YANG binary serialization of by-reference cdata leaf values
  • 8ef996b: Add assertion to Stream:write_scalar
  • fdec9b7: YANG binary serialization allows for >4GB files
  • f6f8755: Avoid copy when reading in ctable
  • ee1a81a: Use more relaxed NUMA memory binding policy
  • 855aae7: Simplify alarm notifications listener
  • 3ee13d9: Fix socket API change
  • 9bb068e: Add condition variables to fibers
  • a6ea6ff: Fix typo in channels self-test
  • f3cf804: Update fibers file API to allow wait-for-readable ops
  • b47a55f: Add inotify module to ptree
  • 90dacea: Add EINTR handling to epoll module
  • f4a4ab9: Add :next_entry_time() method to timer wheel
  • af60f95: Add scheduler :main method
  • b0bc5b3: Use fiber main method in programs
  • 598745a: Restore schedule_tasks call on event waiter
  • 5426d18: Fix duplicated method
  • 032d187: Minor scheduler refactor
  • cd99fe3: Inotify is_dir() function uses lstat
  • c16edb7: Make lib.comma_value work better for large uint64 values
  • 5c8cabd: Rewrite "snabb top" with fibers
  • b74014c: Fix error case for histogram summaries
  • 4fa0ca8: Arrows change focus in snabb top
  • 600cbee: Remove snabbvmx top.
  • 270bddb: Fix "snabb lwaftr query"
  • 1914a86: Add round-robin database library
  • bfe4f3d: Back off RRD version to 3
  • c29f095: Refactor ptree manager treatment of counters
  • d08292e: Fix reading of "snabb config" configurations from stdin
  • 225878d: Make sure recursive inotify drains all nested events before returning
  • 57b8c18: Swap argument order for file names and initargs in rrd create
  • 5eedfef: Fix RRD bugs
  • 8a7ab76: Ptree manager samples worker and aggregated counters into RRDs
  • 81a54ed: "snabb top" reads rrd files
  • 59d372d: snabb top doesn't monitor itself
  • 5d033e1: Add "interface view"
  • abe2d58: Improve spacing and column width allocation in snabb top grids
  • cf8992f: Switch "snabb top" to prune state tree in UI
  • 2e95609: Wrap "snabb top" counter leaves in an object
  • 6530a0d: Sort rrd lookup results
  • c3fef25: top: Add ability to skim back and forward through time
  • 1e77c9d: Add fallback version of directory monitor if inotify is unavailable
  • 2ba44e8: Make alarms codec use stream i/o routines
  • 6806b59: Tweaks to make alarm encoding have less overhead
  • 74e78e3: Cache array types in stream.lua
  • d6a8c98: Fix another snabb top problem
  • 53f4e05: Update "snabb top" docs
  • 607f7c1: Add ptree docs on counter collection and aggregation
  • a533ed4: Fix typo
  • 26812c6: Remove some indirection in alarm_codec
  • 34ec6c8: Fix broken encode_raise_alarm
  • 15be803: Simplify alarms API
  • 93090ae: alarm_codec doesn't require unpacked args
  • 047f6e7: Fix bug introduced in previous commit
  • a99cd30: Ptree extends alarms by installing alarm handler
  • 3930e90: NDP uses a pre-allocated pseudoheader
  • 0cb4122: Remove some loops-within-loops in stream.lua
  • dbdb0d1: Micro-optimizations
  • 9930715: Fix to alarm:raise
  • 84c2901: Expand on some Changelog features
  • 6ce2990: Minor wording changes around the RRD feature
  • dd54c80: Revert "Show rxbits and txbits instead of bytes"
  • 7b75fbf: Ensure vhost-user socket paths are NUL-terminated
  • 44ef127: intel_mp app instantiations make stats symlink counter forest
  • 5fa0d15: Remove unused symlink creation routines
  • edad14b: Minor formatting change
  • 71bf219: Update l2vpn for intel_mp stats change
  • a24bb8d: Remove extraneous diff
  • fa913d5: Remove more extraneous diff
  • 8f54869: Revert "Minor formatting change"
  • 144c589: intel_mp: Don't eagerly open shared counters

Asumu Takikawa (30):

  • b145d27: tap: bump selftest timeout to 0.05 seconds
  • c4681a6: Use virtual instead of profile time for vmprofile
  • fdf5d02: Restore use of LUAJIT_CFLAGS
  • 4bd9d6e: intel_mp: store shm stats in global directory
  • 2a638fe: Go back to avoiding setting run_stats
  • 0d641de: inotify: adjust is_dir to allow symlinks to dirs
  • 373d195: Filter queue counters based on enabled bitmap
  • 1c536e2: intel_mp: add a new test for rxcounters & workers
  • c40f0ea: snabb top: refactor queue stats filtering
  • af8c75f: snabb top: fix worker nesting with shared pci
  • 5388c98: intel_mp: add 10g test for shared RX counters
  • 6b72001: Use virtual instead of profile time for vmprofile
  • 504e2a6: Start changelog for lwAFTR v2018.06.01
  • 102f990: Add a benchmarking script for lwAFTR releases
  • fd0f29e: Adjust benchmark to check SNABB_PCI env vars
  • 929bb7a: Add CPU env var for lwAFTR benchmark script
  • c02519f: Provide info if lwAFTR errors during benchmark run
  • d627abd: Fix typo in env var check in benchmarking script
  • ece8074: Parameterize CPUs used for loadtest in benchmark
  • cf5dc3f: Set CPU affinity on two CPUs for RSS release test
  • 79d4546: Use self.shm frame in get_rxstats / get_txstats
  • 07c3be8: Adjust test_10g_counters.sh for new location
  • 5b21794: Remove remove_stats_symlinks call
  • 2ae4ea4: lib.yang.data: use stream ops to open test data
  • 89d5e6e: lib.yang.parser: use error() instead of os.exit()
  • 9703dd0: intel_mp: fix delayed counter read
  • bcbc3fe: Add changelog for lwAFTR v2018.09.01
  • 987f60c: snabbnfv: bump telnet timeout for selftest
  • 90e9b67: ljsyscall: ensure size matches mask for get_mempolicy
  • 08ff28f: ljsyscall: ensure size matches mask for get_mempolicy

Ben Agricola (4):

  • 39dc245: Fix notification_peers is nil error in ptree
  • af4363e: Fix incorrect status sent as alarm-notification
  • e0a5738: Add alt-resource support to yang.alarms.
  • ebfb2c6: Add missing cltable include

CapsAdmin (1):

  • fabab00: x64/LJ_GC64: Fix asm_fuseloadk64()

Darius Bacon (1):

Dibyendu Majumdar (17):

Diego Pino Garcia (154):

  • 044a458: Enable vmprofiling in workers
  • 92adb41: Hoist enable_auditlog out of loop
  • 360a504: Implement alarm-notification logic
  • 129f33c: Basic notification push mechanism
  • 7fa656a: Fetch notifications from alarms state
  • 911917d: Serialize notifications to JSON
  • f4e9a7e: Add alarms listen subprogram
  • 65df2ca: Push notifications over socket using a queue
  • 3feb451: Fix error while parsing ipv4 and ipv6 prefix
  • f8bc570: Remove unused function
  • 3e77868: Fix impendance mismatch in ipv4-prefix
  • 6334a30: Add test case for inet:ip-prefix
  • b457851: Adapt alarm notifications management to new API
  • a466120: Add identificator name in alarms
  • 050c9fb: Add basic support for influxdb format
  • 2911d5a: Prevent potential error if value is nil
  • a8180aa: Initialize root variable if nil
  • 031e69e: Detect nodes uniqueness as a function of the schema
  • cf35209: Fix several errors in serialization of arrays
  • 682a0ef: Escape influxdb tags and values
  • 07a0dc8: Add influxdb printer tests
  • 39e9325: Disambiguate keys
  • 89d7b19: Use '%position' as tag key for leaf-list nodes
  • 8352fd5: Schema markers need to be reset on each load
  • 42717a9: Test more data types in test case
  • a25deeb: Handle integer data types
  • f7ee499: Append '/' to uniquified names
  • 43c0636: Collect node uniqueness in extra pass
  • 9f8dda9: Set TTL=64 in ICMPv4 echo response
  • 18f50c8: Set hop_limit=64 in ICMPv6 echo response
  • aafbe6e: Add end-to-end tests for pings with TTL lower than 64
  • 1504200: Simplify monitor behavior
  • 19ff598: Add function is_iface to core.lib
  • 93a32fe: Indent
  • 83f8316: Support tap interfaces in v4 and v6 arguments
  • ca2a3f0: Support tap interfaces in on-a-stick mode
  • 55d387e: Change load_tap to load_iface using RawSocket
  • f49c9c6: Change load_on_a_stick_tap to load_on_a_stick_iface using RawSocket
  • fd4ab22: Reduce size of packet
  • e12cc2b: Rework function 'is_iface'
  • 4842d81: Rename references to iface as kernel iface
  • d88e019: Open channel in worker for listening to directory events
  • 3abdc1f: Initialize aggregated counters in manager process
  • 918bd28: Cache counters
  • 3039ce8: Archive counters on delete
  • 5691169: Move fiber for managing aggregated counters (creation and destruction)
  • 6060744: Create fiber to update aggregated counters
  • b5f26d8: On archiving counter, perform counter.delete
  • 4aeeafc: Merge create and update counter logic
  • c02c079: Sum counters of all workers and commit on each iteration
  • 514cd51: Emit cancel operation on workers shutdown
  • ef4f9b8: Rework archive_counter
  • 4134c1b: Call scheduler shutdown for 0.1s or until it returns true
  • c7388a2: Sum of archived aggregated counter should be accumulative
  • 5e7793a: Rework aggregate counters logic
  • 5e1fced: Fix aggregated counter retrieval
  • f5fd15e: Fix attempt to index a nil value
  • 2a6498e: Implement leafref value
  • a510b71: Add leafref test
  • 4db39d7: Implement consistency checker
  • 84397f8: Resolve circular reference by moving consistency code to path_data
  • ec0223a: Visit leafref nodes with an iterator
  • d4cc98d: Implement require-instance constraints in leafref
  • 2224f9d: Precompute getter outside of calling function
  • 618d552: Synchronize daylight-save flag between utc time and local time
  • 2e59e6d: Fix parsing of ISO8601 date format
  • 60b37d4: Show command 'listen' in list of available 'alarms' subcommands
  • 0e306ee: Remove undeclared variable
  • 660e9b2: Enable leafrefs in ietf-alarms
  • 720a1d7: Run consistency checker after loading configuration
  • 19d14c9: Improve parse_path
  • 63355f4: Getter should be of parent path
  • 56ad8ee: Return path if path is absolute
  • 8152cf7: Resolve current() to current node_path
  • 597d79f: Rename arguments
  • bc2333e: Only add leafrefs if successfully obtained a getter
  • d1b8ae5: Add consistency checker of ietf-alarms
  • 4651a92: Fix typo in lwAFTR configuration docs
  • f4bb339: Print out value as mac address if label is 'macaddr'
  • 7dd4fe0: Fix undefined variable
  • 4af258a: Add guard when retrieving speed and macaddr values
  • 95e57cc: Fix function require_splitter
  • 6c4e928: Determine whether a configuration should run on-a-stick
  • cdd79cf: Add on-a-stick assert and prepare migration
  • e649e60: Scale packet drops
  • ed53161: Initialize stats queue number
  • c444683: Set run_stats true for all nic setups
  • 6c1dd95: Sync only statistics if instance is master
  • 004b01d: Sync stats for relevant queue only if rxcounter defined
  • 14e6b47: Fix test
  • 1c3115b: Update some stats counters always
  • b57d9ad: Sync device stats refardless of run_stats value
  • 227f996: Iterate queue stats registers in order
  • a1cbf72: Honor txcounter when updating queue stats
  • 709b99f: Blacklist of counters which should not be aggregated
  • 0c2785f: Check sync_timer exists before calling it
  • 30412f0: Skip blacklisted counters in aggregated counter list
  • e68b756: Skip blacklisted without goto and refactor blacklisted
  • 5d4683a: Update Snabb lwAFTR version
  • b026f21: Improve CPUSet:acquire warning message
  • 51dc6aa: Reintroduce subcommand compile-binding-table
  • 0faa677: Modify generate-binding-table to generate a configuration file instead
  • b451155: Rename generate-binding-table to generate-config
  • c19905f: Rename compile-binding-table to compile-config
  • 6fb022b: Update lwAFTR README
  • 75e61ec: Fix test
  • d742a6b: Fix indentation
  • e27f506: Change instance template to id 0
  • 3628303: Restrict condition for use of V4V6 splitter
  • 7ba21bf: Fix parsing of path in setter and remover for grammar
  • dc67aee: Remove dead code
  • eb80657: Do not skip psid=0 if psid-length is zero
  • 436d311: Fix error while opening rrd.file
  • fe72a43: Show rxbits and txbits instead of bytes
  • 73d0072: Print out user-friendly error message
  • 12b8f19: Fix MAC address comparison
  • cd5aa38: Change MAC addresses in configuration file
  • a81e7d2: Select ping6 program
  • 1582927: Missing argument in Manager:update_configuration
  • f0c6011: Implement checksum computation using DynASM
  • 9a96d57: Add reference implementation of checksum computation in Lua
  • d42747c: Convert loops to ifs
  • 9da791f: Remove unnecessary label
  • f3969f0: Add at 16 bytes strides
  • 52e8457: Fix comments
  • 12fd28c: Sum at 32 bytes strides
  • 1ed8aa5: Remove unnecessary assignment to register
  • a7bac04: Print out nanseconds by byte and per csum
  • ca059dd: Check AVX2 and SSE2 are available
  • f38ec15: Add function for verifying correctness of new checksum computation
  • 7d5eeab: Remove AVX2 and SSE2 checksum computations
  • 24ee9fb: Use new checksum function by default
  • ced7500: Add snabbmark checksum subprogram
  • 542a179: Benchmark checksum using PMU utilities
  • b163b10: Fix runtime error in lwAFTR verbose mode (-v)
  • 08ea6a1: Don't print out stacktrace on reporting parsing error
  • e081d27: Report parsing errors using Parser:error and not assert
  • 8f8b43b: Extract method parse list of cpus
  • 1579392: Bind manager process to first available CPU in NUMA node
  • b636355: Make CPUSet:bind_to_numa bind to CPU too
  • 7845eec: Compute available cores by subtracting total cores - isolated
  • b6d50e6: Bind manager process to a set of available cpus
  • 56876bd: Randomize name parameter in test to avoid collisions
  • 321ee18: Disable snabbvmx nexthop test
  • b858c9e: Allow setting flow-label in ingress packets
  • b75190d: CPU parsing should return an empty list if string is blank
  • 3c2218f: Trim list of cpus
  • 14690f2: Make flow-label YANG leaf default to 0
  • 03dd8e1: Show nexthop MAC in top
  • c64426a: Skip memory binding in blackisted kernels
  • 1600fb9: Allow to blacklist kernel versions that are greater or equals than a certain version
  • 8aea089: Add assert limit for width value
  • 6489f0e: Memoize specialized functions
  • 6907604: Save next-hop MAC resolution in ARP and NDP apps respectively

Jessica Tallon (10):

  • d84e630: Preserve the version number for lwaftr release
  • ce6313e: Remove unreleased note from changelog
  • 69b5d0a: Fix loadtest find-limit arguments for short form.
  • f8fec8d: Add changelog items for 2018.06.01
  • 3934c33: Fix few nits in changelog
  • bb25545: Fix version number
  • ae0ca39: Fix errors due to bad strncpy behavour.
  • 012c293: Update CHANGELOG.md with 2019.09.02 release
  • 8dbdad0: Add testing 2 instances with 4 queues (RSS).
  • fa0e13e: Add improvement to benchmarking script to CHANGELOG.md

Lesley De Cruz (18):

  • 46e1fea: Add first part of test framework: parse tests.
  • a4ec002: Add index() and extract() to tester module.
  • a4dd1e0: Add run_single() and run() to tester module.
  • 639480b: Add filter() to tester module for filtering tags
  • af54fa1: Add verbose option to run() and run_single()
  • b0b3a20: Add test.lua for running and filtering tests.
  • 24d2b97: Move some tests into new structure and adapt comments to test runner.
  • 5f331e7: Avoid string.rep in test.lua
  • 0d975fa: Clean up test script (args, tag patterns)
  • 8859058: Implement @key: value matching in parse() function of tester module
  • 16b3293: Don't print an empty description in build_codestring() in tester module
  • 765714f: Put @key: value pairs in separate attributes table in parse()
  • 14bfa87: Add --runcmd='x' option to test runner
  • a6e5102: Capture stderr when tests are run externally in run_single()
  • 91cb29b: Add workdir argument to extract() in tester module
  • 82586b1: Improve filenames of extracted tests and error reporting in test runner
  • 1d7aaed: Moved proposed test runner and examples into 'experimental' directory.
  • 581a474: Put subtests in 'test' dir

Luke Gorrie (242):

  • b0a75b4: Added bench/roulette.lua
  • a71cd6d: roulette: Stop seeding the random number generator
  • f333908: Added bench/PARAM_x86_CI.txt (CI params)
  • 6a66f5d: Added LUAJIT_VMPROFILE: new profiler backend
  • 5c74044: Added initial README.md
  • 006018f: Change wording of README
  • d1c0e13: Remove LUAJIT_USE_PERFTOOLS
  • 7beb3b2: Remove all architectures except x86-64.
  • 827e3d6: Add ifdef-defile config for 'unifdef'
  • 3127cb0: COPYING: Switch to Apache License 2.0 for new code
  • 58b063b: CONDUCT.md: Add simple code of conduct
  • 40381fa: Remove unused code.
  • 0213af2: Added absolute minimum .travis.yml
  • 1842bc3: README.md: Added Travis-CI status badge.
  • f4c8ca6: README.md: Performance regression tests link
  • 7fe552f: Revised README.md
  • b270bf0: Remove jit.p, jit.v, jit.dump, disassemblers
  • e2968cc: Removed dynasm modules for unsupported architectures
  • a168dc6: README.md: Add quotes, fix benchmarks link
  • 8796648: Add LuaJIT/LuaJIT-test-cleanup to submodules/
  • 09b2f3e: Add LuaJIT test suite to Travis-CI
  • 9359d14: Added CONTRIBUTING.md
  • 43e53c7: COPYRIGHT: Update the COPYRIGHT file inherited from LuaJIT
  • 0e8e997: Revised README.md
  • ac49377: Remove all uses of LJ_FASTCALL (a NOP)
  • ac6311d: Remove definition of LJ_FASTCALL (a NOP)
  • 28f0f6b: README.md: Indulge in more pithy quotations
  • 5ccbcfe: Make test 366 pass by adding "move:" to expectation
  • 66b4822: Removed luajit-test-cleanup submodule
  • d5b9354: Add raptorjit-testsuite submodule
  • bfe7ddc: Update Travis-CI to use raptorjit-testsuite
  • 9fedd59: Travis-CI: Added '+slow' argument to test suite
  • 5726c88: Switch from gcc to clang
  • 78f9acf: Makefile: Replace minilua with luajit dependency
  • 60aa095: Specify build dependencies with nix
  • 1124340: Travis-CI update for nix-based build.
  • a4a5720: README.md: Updated build instructions
  • 3a523de: default.nix: Commented
  • cd0e416: README.md: Add link to default.nix
  • 84379d3: Remove "amalg" amalgamated build"
  • eb052df: Remove '*.bat' console build batchfiles
  • df45ff5: Remove PROFILE and VMEVENT features
  • 972fc1e: lib_jit.c: Remove introspection and jit.attach()
  • e2e5689: Remove unused lj_vm_profhook() prototype
  • f7dc94a: Define NO_UNWIND
  • 8f2744a: ifdef-defile: Correct spelling of LJ_NO_UNWIND
  • 5660da3: README.md: Note +NO_UNWIND
  • f7122f1: README: Declared CPU & Optimization policy
  • 5f263f2: README.md: Add software optimization links
  • fa02289: Remove DUALNUM mode
  • f458d9e: Fix mistakes in DUALNUM removal
  • 170c3ac: vm_x64.dasc: Fix FORL type coercion
  • c8b2b1c: vm_x64.dasc: Resolve +JIT +FFI -X64WIN
  • 03ad911: Travis CI: Test -O3/-O2/-O1/-joff separately
  • d286c95: Fixed typo in jit=-O1
  • b1cfd27: lj_asm_x86.h: Fix CNEWI for constant pointers
  • fb32f91: Fix IR_KKPTR case of b1cfd27
  • b1bc13b: Compile with -Werror (treat warnings as errors)
  • 0659092: Remove submodule for testsuite
  • c025664: nix: pin nixpkgs, pin clang 4.0, run test suite
  • 82487c7: Travis-CI: Update now that nix runs the test suite
  • 398bd28: Cleaned up nix expressions
  • 7356708: md5 benchmark 15% speed by removing "slow LEA"
  • 7a35839: Import revamped nix benchmark framework
  • b1b52db: Fix markdown goof in README.md
  • f5aa329: README.md: Add note about where benchmark visualizations go
  • 4318163: testsuite/bench: Tweaked tests to run longer
  • 7bf26e6: Add new "uplifting" RaptorJIT logo
  • cb132d1: Add lj_auditlog (very preliminary)
  • 5ea4b74: lj_auditlog: use msgpack format for audit log
  • 76be283: lj_auditlog: remove redundant "size" field
  • b302c6e: lj_auditlog: Add "event" object
  • 2dfdb73: lj_auditlog: Implement logging of trace_abort
  • 376fb58: lj_trace: Log trace aborts to auditlog
  • 0a55469: Generate separate DWARF debug info
  • 0acc230: lj_auditlog: Log the memory containing IR instructions
  • 65675f5: lj_vmprofile: Port & adapt revisions
  • a86ca93: raptorjit build: remove jit.* and disassembler symlinks
  • 27e600f: raptorjit build: hackey update of makefiles and nix exprs
  • c6aae30: core.app, core.main: drop jit.zone dependency (dangling)
  • f9d7cdd: src/Makefile: Shrink by removing obsolete platform logic
  • 6d7a8d2: Add VM generated code to the repository
  • 086b4c9: Exclude generated code from .gitignore
  • 196a9e2: Makefile: s/LuaJIT 2.1.0-beta2/RaptorJIT 1.0.0-alpha1/
  • 3ca3df8: README: Update build procedure description
  • 964cbe4: Makefile: New target 'bootstrapclean' removes in-tree generated code
  • 726cc9c: raptorjit.nix: preBuild = 'make bootstrapclean'
  • 2cf9924: check-generated-code.nix: Check if in-tree VM code is stale
  • 9fe3967: .travis.yml: Include check-generated-code test
  • c297923: Makefile: New 'reusevm' target & bootstrap-skipping method
  • 8cd8f7e: vmprofile: Extend Lua API and add test cases
  • d7fd44e: testsuite/bench: Remove PARAM_* for unsupported platforms
  • d095eae: raptorjit.nix: Fix executable name / broken build
  • 8ec77f9: .travis.yml: Update Travis-CI config (was not testing)
  • 076d161: check-generated-code.nix: Fixed
  • d27d4d4: check-generated-code.nix: Tweak order of diff args
  • 300d14e: reusevm: Updated generated code
  • 4aaa844: lj_jit.h: Save 'parent' and 'exitno' fields in GCtrace
  • fcf7053: check-generated-code.nix: Add more verbosity
  • 4a06d4a: lj_vmprofile.c: Fixed to set file magic number with C API calls
  • 4b4dcb0: lj_trace.c: Make trace numbers unique (stop reusing them)
  • 2b8d1a3: Makefile: Add 'make reusevm' for raptorjit
  • 1d81da7: src/Makefile: Switch "luajit" command to "raptorjit"
  • bbbd4b6: src/Makefile: Fix path to raptorjit.a
  • 55ac7f5: snabbnfv.traffic: Remove jit.p and jit.dump calls (not in raptorjit)
  • cf655d9: lj_crecord.c: JIT pointer difference for all element sizes
  • 4e945d2: lj_api.c: Fix breakage in cherry-pick of ffd2610
  • 4cd536f: testsuite: Enable Lua 5.2 compat
  • 00e983c: src/reusevm: update generated files
  • 88bcf00: README.md: New introduction
  • 2bc2d95: README: Make less fuss about Intel Core
  • 9ab33a8: README: shorten intro, move Optimization Resources down
  • 7c2a11e: fixup! README: shorten intro, move Optimization Resources down
  • bebdbac: Makefile: Added reusevm target at top-level
  • cc5668b: README: Added note about future platform support
  • 1b5c2f2: fixup! README: Added note about future platform support
  • 86f23d6: README: Re-introduce goal of minimizing non-deterministic performance
  • ad14f45: GCtrace: Make it possible to map between IR and mcode insns
  • c5923d8: lj_auditlog.c: Log VM definition information
  • f7212cc: lj_trace.c: Clear penalty slot after successful trace
  • 01dc844: lj_jit.h: Increase HOTCOUNT_MAX and expand HotPenalty.val
  • a720595: lj_trace.c: Reset hotcount table after flush
  • ce6fbb4: lj_record.c: Relax heuristic for root trace meeting JIT loop
  • e182ae8: Add jit.tracebarrier() primitive
  • 0be85c6: src/reusevm: update generated files
  • f5d810e: lj_record.c: Record IFUNC/IFUNCV the same as FUNC/FUNCV
  • b6902f8: Remove EXITSTATE_PCREG
  • 089c55a: lj_obj.h: Explicitly define implicit VM states
  • bd7266d: Track last exited trace (lasttrace) in global_State
  • 2b89796: vmprofile 3.0 with more information
  • 5cac382: lj_vmprofile.c: Fix file header initialization
  • c734910: Remove feature to compress GCproto.lineinfo
  • 5e673ea: lj_obj.h: Fix comment about lineinfo (non)compression
  • 7f4787a: Fix bug in lj_bcread_proto()
  • 17b3c9c: lj_bcread.c: Fix warning
  • c1659d9: VMProfile 4.0: File format revision
  • ae5c6aa: vm_x64.dasc: Fixes to ensure g.lasttrace is a trace number
  • 0823d96: lj_vmprofile.c: Fix trace number overflow (into bucket 0)
  • a8b0f32: lj_vmprofile.c: Add assertions with lua_assert
  • 16121f2: Statically allocate JIT temp buffers
  • 7a4e25b: Add log of recorded bytecodes (BCLogRec) to jit_State
  • 9b2b467: Minor update to jit_State bytecode log
  • 238c698: lj_auditlog: Improve logging of trace stop/abort
  • b29101e: fixup! lj_auditlog: Improve logging of trace stop/abort
  • bc57ceb: lj_state.c: Fix bug in allocation of IR buffer
  • d371db6: lj_state.c: Fix dealloc to match
  • 06b9f32: lj_state.c: Fix allocation and free of IR buffer
  • 43691e0: reusevm: Update generated code
  • 4d8b3eb: auditlog: Log all loaded bytecode (GCproto objects)
  • 5843c53: lj_auditlog.c: Log prototype names (GCstr)
  • 88cc35c: reusevm: update generated code
  • 2f5a9a3: lj_obj.h: Redefine GCRef as simple GCobj* pointer
  • 1587377: lj_obj.h: Redefine MRef as simple void* pointer
  • 857073c: lj_auditlog.c: Add lj_auditlog_open(path) API function
  • 671d770: lib_jit.c: Add 'jit.auditlog(filename)' Lua API function
  • 07fef11: luajit.c: Add 'raptorjit -a ...' command line auditlog syntax
  • 7e34e72: reusevm: Update generated code
  • 3e2d4e4: lj_auditlog.c: Use open_memstream() instead of fmemopen()
  • 588e9c3: lj_auditlog.c: Fix compiler warning
  • 2276cd8: lj_trace.c: Fix compiler warnings
  • 623d45f: lj_auditlog.c: Remove fflush() that seems problematic
  • 0b940c5: lj_auditlog.c: Glibc memory stream workaround...
  • 3a5aa7d: lj_trace.c: Do not reuse trace numbers after flush
  • b5056fa: lj_parse.c, lj_debug.c: Remove clever tricks in lineinfo encoding
  • 541d60d: auditlog: Can only be opened once now (error on second open)
  • de0f442: fixup! auditlog: Can only be opened once now (error on second open)
  • 1fa5375: Fix compiler warning & reusevm generated code
  • 7844c5f: Add '-p file' command line syntax for VMProfile
  • fd0e49d: Support "one-liner" usage of jit.vmprofile.open()
  • 9dac90f: auditlog: Log source code (in chunks via lexer events)
  • ed21034: auditlog: Log source (lex events) as msgpack binary
  • f66fc04: testsuite/bench: Fix awk parsing of perf output
  • fcf86b8: lj_str.c: Remove special-case string interning fastpath
  • fe89c10: luajit/lib_jit.c: Fix merge conflict (duplicate of jit.tracebarrier)
  • 072d23e: src/Makefile: Fix raptorjit build
  • 4db5edf: engine: Enable RaptorJIT auditlog and vmprofile
  • 8c09d57: core.shm: Add function path(name)
  • b021efb: src/Makefile: Fix s/luajit/raptorjit/ bug
  • c2c2ed2: lj_auditlog.c: Pick latest working version from lukego/auditlog
  • e92c500: lj_vmprofile.c: Fix bug where restarting the timer would not work
  • 4189da6: Just use the default gcc instead of clang 4.0.0.
  • 42bb70b: lj_ir.h: Fix typo made when resolving merge conflict
  • 0dea74e: lj_lex.c: don't log lexer events for bytecodes
  • 9be90a3: lj_jit.h: Increase default maxtrace from 1000 to 10000
  • 7b57a23: lj_trace.c: Allow reuse of trace numbers after jit.flush()
  • c6347dc: lj_trace.c: Clear profiler lasttrace state on flushall()
  • cad220d: lj_trace.c, lj_auditlog.c: Log auditlog event "trace_flushall"
  • cc311cf: dasm: Error when a 64-bit value is used as a 32-bit immediate
  • 7bc8597: Move lj_auditlog.c out of Snabb and into RaptorJIT
  • 0158240: luajit.c: Make -a and -p argument handling more consistent
  • d0dcc75: lj_audit.log.c: Add file size limit (default 100MB)
  • b0cbca7: lj_auditlog.c: Add "nanotime" timestamp to events
  • f4ff59e: lj_auditlog.c: Increase in-memory log limit to 10MB (from 1MB)
  • 10764c4: lj_auditlog.c: Log strings referenced as IR constants
  • d0191fe: lj_auditlog.c, lj_ctype.c: Log named ctypes to the audit log
  • 1c81d51: fixup! lj_auditlog.c, lj_ctype.c: Log named ctypes to the audit log
  • 486f720: lj_auditlog.c: Log GCfunc objects referenced by IR constants
  • b93738f: shell.nix: Make 'nix-shell' command work as documented
  • 1d1dc9f: README.md: State more clearly that Linux is required
  • 44fbf8e: lj_auditlog.c: Log GCtrace->irmcodesz (IR-mcode mapping)
  • d64a769: fixup! lj_auditlog.c: Log GCtrace->irmcodesz (IR-mcode mapping)
  • 8c8731e: lj_asm.c: Fix szirmcode values
  • f62c246: fixup! lj_asm.c: Fix szirmcode values
  • 9b5ab0a: lj_dwarf.c: Add lj_ircall.h and lj_ff.h for more debug information
  • 02062e9: src/Makefile: Embed DWARF debug info as binary blob
  • 229fc15: lj_auditlog.c: Log raptorjit VM DWARF debug information to audit.log
  • e51eaa1: lj_debuginfo.h: Add missing file declaring dwarf data
  • 1646db3: lj_audit.log.c: Fix iteration through trace constants
  • a5222e7: lj_state.c: Partial fix of assertion on shutdown
  • 92955dc: src/Makefile: Add dependency from DWARF info to generated headers
  • 9a798d7: luajit.c: Fix argument parsing bug that made "-a" fall into "-p"
  • 8d9d959: Extend GCproto debug with declared function name (declname)
  • 4166e7a: lj_bcdump.h: Bump bytecode version number (2 -> 3)
  • 74b52e6: lj_bcread.c: Remove suspicious loop
  • 73b96a4: src/reusevm: Update generated code
  • 01f8b4c: lj_bcread.c: Remove suspicious loop
  • 8f55c03: src/reusevm: Update generated code
  • d60c595: lj_prase.c: Remove old debug noise
  • c552236: Restore older debug info fields to their original positions
  • 96e00a6: lj_bcwrite.c: Remove unused variable
  • 90a15f7: lj_ctype.c, lj_trace.c: Poll for ctypes to log on trace stop/abort
  • 473cb19: lj_ctype.c: Avoid crash when printing unprintable ctype IDs
  • cd172fc: lj_parse.c: Set declname for file-level code to
  • 2c5faa8: Exclude function-rooted traces from global_State->lasttrace
  • ca0abe3: reusevm: Update generated code
  • 420fa75: Minimal rebranding from LuaJIT -> RaptorJIT
  • 4891901: README.md: revised ahead of first release
  • 4e1405d: README.md: Add quick Studio getting started intro
  • fcf138f: README.md: Correct profile names to *.vmprofile (expected by studio)
  • 4782265: Fix allocation/deallocation of T->szirmcode
  • 66f9234: lj_trace_alloc: Copy T->szirmcode to new trace
  • 9959cb1: lj_asm.c: Added comment about szirmcode moving to final GCtrace
  • 3f9db9e: lj_ctype.c: Detect loops in ctype_repr()
  • d09927b: lj_trace.c: Fix and simplify allocation of J->trace
  • d3c149d: default.nix: Test with -DLUA_USE_ASSERT and -Werror
  • a667ead: Fix deallocation of T->szirmcode
  • 3b80633: lj_state.c: Restore assertion that all memory is deallocated
  • 55e7656: lj_ctype.c: Detect bad ctypeid without failing lua_assert
  • 56a88b2: Prepare for RaptorJIT 1.0 with installation fixes
  • fe6324e: .version: Step to v2019.01
  • 15b1a62: .version: Fix conflict
  • a9fe280: core.engine: Add .vmprofile suffix to filenames to help Studio

Max Rottenkolber (5):

  • 6be5397: core.main: call vmprofile.start() before running program...
  • 580c87e: core.histogram: extract summarize method from snabb top
  • 1f9619c: core.histogram: add __tostring meta-method to meta-type
  • 3d5cbb4: core.packet: register SHM type with __tostring method for freelist
  • ff2d7bd: snabb shm: introduce tool to replace 'snabb top -l '

Mike Pall (83):

  • a273241: Initial commit
  • de5568e: Remove Lua 5.0 compatibility defines.
  • 0cf7885: ARM64: Fix XLOAD/XSTORE with FP operand.
  • 779a1eb: ARM64: Fix Nintendo Switch build.
  • fa126c5: x64/LJ_GC64: Fix assembly of CNEWI with 64 bit constant pointer.
  • 024ade7: LJ_GC64: Fix BC_CALLM snapshot handling.
  • 78f5f1c: x64/LJ_GC64: Fix emit_loadk64().
  • 3143b21: ARM64: Add big-endian support.
  • e205ad0: FFI: Fix FOLD rules for int64_t comparisons.
  • dc320ca: Remove old Lua 5.0 compatibility defines.
  • de97b9d: Add some more changes and extensions from Lua 5.2.
  • 247b362: OSX: Fix build with recent XCode.
  • 22dfa63: Allow building on Haiku OS.
  • 9c685f7: Refactor with LUA_OK.
  • c67a098: From Lua 5.2: Add lua_version().
  • ef23b70: From Lua 5.2: Add lua_copy().
  • f2e2a3f: From Lua 5.3: Add lua_isyieldable().
  • cde968f: From Lua 5.2: Add luaL_testudata().
  • 2b8de8c: From Lua 5.2: Add luaL_setmetatable().
  • de26f76: From Lua 5.2: Add lua_tonumberx() and lua_tointegerx().
  • cced178: Document added C API extensions from Lua 5.2/5.3.
  • 18efb33: ARM64: Fix stores to vmstate.
  • 58aaac3: MIPS64: Fix write barrier in BC_USETV.
  • ed54eac: MIPS64: Fix stores of MULTRES.
  • 02b4b1e: Add workaround for MSVC 2015 stdio changes.
  • fbfbd7b: FFI: Compile bitfield loads/stores.
  • cf8a5be: Add FOLD rules for mixed BAND/BOR with constants.
  • b608891: FFI: Update docs on compiler limitations.
  • ae0d438: Update changelog.
  • 0bf80b0: RELEASE LuaJIT-2.0.5
  • e9f8abf: Update changelog.
  • 8271c64: RELEASE LuaJIT-2.1.0-beta3
  • 1c89933: Fix LJ_MAX_JSLOTS assertion in rec_check_slots().
  • 630ff31: Add missing LJ_MAX_JSLOTS check.
  • 7381b62: MIPS: Use precise search for exit jump patching.
  • c7c3c4d: MIPS: Fix handling of spare long-range jump slots.
  • a057a07: MIPS64: Add soft-float support to JIT compiler backend.
  • b0ecc6d: FreeBSD/x64: Avoid changing resource limits, if not needed.
  • 6a71e71: Remove unused define.
  • 82151a4: Modify fix for warning from 'ar'.
  • 7e662e4: x64/LJ_GC64: Fix emit_rma().
  • fd37da0: PPC: Add soft-float support to interpreter.
  • 07f976a: Remove Lua 5.0 compatibility defines.
  • 5126a06: LJ_GC64: Fix BC_CALLM snapshot handling.
  • de9a886: x64/LJ_GC64: Fix emit_loadk64().
  • e834e9c: Merge branch 'master' into v2.1
  • dbe5619: Remove old Lua 5.0 compatibility defines.
  • d6db005: Add some more changes and extensions from Lua 5.2.
  • b28c891: Refactor with LUA_OK.
  • eaf262d: From Lua 5.2: Add lua_version().
  • f1264bf: From Lua 5.2: Add lua_copy().
  • 9a520cb: From Lua 5.3: Add lua_isyieldable().
  • 4a307c1: From Lua 5.2: Add luaL_testudata().
  • 9fabcf9: From Lua 5.2: Add luaL_setmetatable().
  • ffd2610: From Lua 5.2: Add lua_tonumberx() and lua_tointegerx().
  • bddc781: Document added C API extensions from Lua 5.2/5.3.
  • 2f7f0a2: FFI: Compile bitfield loads/stores.
  • e091baf: Add FOLD rules for mixed BAND/BOR with constants.
  • a698e89: FFI: Update docs on compiler limitations.
  • a0a1983: Merge branch 'master' into v2.1
  • 07918dc: Merge branch 'master' into v2.1
  • e2cabaf: Remove unused define.
  • c0165a6: x64/LJ_GC64: Fix emit_rma().
  • f3d7507: Use https for freelists.org links.
  • 6b08248: x64/LJ_GC64: Fix fallback case of asm_fuseloadk64().
  • 71b7bc8: PPC: Add soft-float support to JIT compiler backend.
  • 05fbdf5: x64/LJ_GC64: Fix type-check-only variant of SLOAD.
  • bf12f1d: MIPS64: Hide internal function.
  • 0c0e7b1: DynASM/x86: Fix potential REL_A overflow.
  • b4ed321: LJ_GC64: Fix ir_khash for non-string GCobj.
  • 850f8c5: LJ_GC64: Make ASMREF_L references 64 bit.
  • 9f0caad: Fix FOLD rule for strength reduction of widening.
  • 06cd9fc: ARM64: Fix assembly of HREFK.
  • 99cdfbf: MIPS64: Fix register allocation in assembly of HREF.
  • 33082a6: ARM64: Fix xpcall() error case.
  • 7dbf0b0: Fix saved bytecode encapsulated in ELF objects.
  • d417ded: ARM64: Fix xpcall() error case (really).
  • ea7071d: MIPS64: Fix xpcall() error case.
  • 58d0dde: Fix IR_BUFPUT assembly.
  • 430d9f8: Fix string.format("%c", 0).
  • 97356f9: Use https for freelists.org links.
  • f6c52a3: Merge branch 'master' into v2.1
  • 91dbe23: Merge branch 'master' into v2.1

Peter Cawley (22):

  • 488e3fb: Shake things up.
  • 74d256f: Remove some already-modernised tests from misc.
  • b8bbda3: Modernise goto test.
  • f40304d: Modernise string_op test.
  • e002a08: Improve reporting of failing tests in --quiet mode.
  • 6a7e342: Modernise misc/meta_* tests.
  • 1bee68f: PUC-Rio Lua compatibility.
  • bcd286b: Modernise more tests.
  • 3e5cca7: Modernise some tests.
  • 9f1451d: Normalise line endings.
  • 9c27a59: Fix batch modifier application.
  • a82c499: Modernise some FFI tests.
  • d7985d1: Modernise more ffi tests.
  • 703e9cf: Skip some tests under LuaJIT 2.0
  • c3224bb: Exercise TSETR and TSETM slow paths.
  • 7897e7f: Add tests for allocation of variable-sized cdata
  • 071f050: Exercise string concat some more
  • bcf938b: Extend cdata_var test slightly
  • 73139f8: Disable some tests under 5.2 compatibility
  • 14c132e: Add tests for table indexing (inspired by #221)
  • 63a6f7e: Add test for BC_KNIL slot revival under LJ_GC64
  • 014708b: Add test for BC_VARG slot revival

aouinizied (1):

  • f2bd95d: Implement nDPI2.x snabb compatibility

bandhu (2):

  • 3e73138: issue #8 add dummy file to ensure directory is saved in git
  • cd42900: issue #8 add dummy file to ensure directory is saved in git
Compare
Choose a tag to compare

This release improves compatibility of the vhost-user driver with current QEMU versions, and adds rudimentary PMU support for AMD family 15h+ CPUs (including Ryzen). With “Eggplant”, our high-performance hash table implementation received a callback that can be invoked when it is resized, and a generic Token Bucket implementation (lib.token_bucket) and time stamp counter module (lib.tsc) are introduced. As usual, this release comes with numerous bug fixes and minor enhancements.

Changes

  • #1369 apps.vhost: compatibility updates for current QEMU versions
  • #1354 lib.pmu: rudimentary support for AMD family 15h+ CPUs
  • #1359 Add optional callback to the CTable:resize() method
  • #1355 Add support for RDTSC, apply to token bucket
  • #1358 Add protocol header for ICMPv6 Packet-Too-Big type
  • #1210 #1367 #1362 #1351 #1344 #1366 #1305 #1373 Various bug fixes and minor enhancements

Contributors

Alexander Gall (4):

  • fb29cd0: Add support for RDTSC, apply to token bucket
  • c7d772c: Add protocol header for ICMPv6 Packet-Too-Big type
  • af98031: Add optional callback to the CTable:resize() method
  • 8a1ebb0: ctable: fix power-of-2 issue

Andy Wingo (1):

  • de790aa: Load potentially 64-bit values using mov64

Asumu Takikawa (5):

  • 015dcea: Fix minor markdown typo
  • 8d6e22d: Adjust ipfix README diagram
  • 88079ad: vhost_user: Add VHOST_USER_F_PROTOCOL_FEATURES
  • 27e8c13: vhost_user: fill out two additional messages
  • 4700a96: vhost_user: asserts for wrong/missing link name

Ben Agricola (1):

  • 270aea4: Fix length property testing

Luke Gorrie (3):

  • 73223bd: Bump .version to 2018.08
  • 8cfe828: fixup! Bump .version to 2018.08
  • dc4cb79: Add engine.stop() to stop all apps.

Max Rottenkolber (4):

  • 0077d21: core.memory: unmap tmpptr in allocate_huge_page
  • 4a40691: lib.pmu: rudimentary support for AMD family 17h CPUs
  • 3aa1cda: lib.pmu_x86: fix regression introduced in 4a40691
  • a597b40: lib.numa: pretend non-NUMA systems are NUMA systems with one node

kullanici0606 (1):

  • 73de63b: Fixes: #1210 hugetlb parameter causes problem on Centos and since memory is already mapped on hugetlbfs and with mlock, there is no need to explicitly use hugetlb parameter (See comment: #1210 (comment))
Compare
Choose a tag to compare

This release introduces support for low-overhead packet queues between Snabb processes within the same process group, as well as a software-based “Receive Side Scaling” (RSS) app to pair with it. Dill also comes with basic pattern restriction support in lib.yang, a better in-band packet tap app that records Pcap data, and—as usual—various bug fixes and miscellaneous improvements.

Changes

  • #1263 Adds basic support for pattern restrictions to lib.yang
  • #1288 Adds a pair of apps (apps.interlink.transmitter and apps.interlink.receiver) that enable efficient packet I/O between Snabb processes within the same process group (inter-process links)
  • #1309 Adds a software-based “Receive Side Scaling” (RSS) app
  • #1315 Introduces the new snabbco/raptorjit integration branch
  • #1320 Adds an in-band packet tap app that logs to Pcap data as a more efficient and featureful alternative to PcapWriter
  • #1327 Fixes a bug in lib.protocol.tcp
  • #1338 Fixes a bug in ljsyscall’s lseek wrapper

Contributors

Alexander Gall (5):

  • 3495fc7: Add a RSS app
  • 41bd845: apps.rss: add selftest
  • 3114c5a: apps.rss: cosmetic changes
  • c8318aa: apps.rss: remove unused variable from selftest
  • 39d2f12: rss.lua: fix bug in selftest

Andy Wingo (3):

  • 468a9a9: Add pcap packet tap
  • 1d90c3e: Revert inadvertant removal of PcapReader / PcapWriter docs
  • bf4307d: Make "offset" arg to lseek a signed integer

Luke Gorrie (3):

  • e7f63d6: doc/branches.md: Add snabbco/raptorjit integration branch
  • e22e683: .version: Bump to 2018.06
  • cf4a5dc: Revert "Merge 'eugeneia/numa-selftest-nonnuma' into wingo-next"

Max Rottenkolber (70):

  • 5100c5d: wip: MCRingBuffer for packets.
  • 3ddb3f3: manual batching
  • 86a6ee9: balance packets
  • 293892b: apps/test
  • 9cdd697: worker
  • 322b61c: factor
  • 6306ed7: core.worker: include si_status in status
  • 4e538cf: fix init race
  • 626c8b6: reorg
  • ac886ba: global max
  • 06053f6: lib.interlink: fix initialization race.
  • 2e32f83: core.worker: include si_status in status
  • 47d8792: lib.interlink: specialized inter-process links
  • 7318cc0: apps.interlink: name apps
  • 8dff93b: apps.interlink: use robust setup/teardown routine, add sensible memory barriers
  • 4486728: apps.interlink.receiver: don’t forward packets until connected
  • db61756: extract lib.print_object from lib.store_config
  • a60a42b: lib.xsd_regexp: port MaxPC to lib.maxpc, implement regular expression parser
  • 204f21e: lib.xsd_regexp: implement basic regexp compiler
  • 6f41966: lib.maxpc: add input_class argument to parse / use classes for input objects
  • 660ae79: Revert "lib.maxpc: add input_class argument to parse / use classes [...]"
  • ba37cd8: lib.maxpc: decode UTF-8 input
  • d3cacc6: lib.maxpc: fix bug in match._not
  • b6cc1a6: lib.maxpc: port digit/number parsers
  • 5fd0198: lib.xsd_regexp: implement unicode ranges
  • 7de7fd3: lib.ucd: supporting Unicode database for lib.xsd_regexp
  • f62c95a: lib.xsd_regexp: implement limited category escapes
  • 5eaf4ac: lib.xsd_regexp: remove support for block escapes, copy in GC predicates
  • ba292f0: lib.xsd_regexp: remove obsolete match.digit
  • ba818b9: Revert "lib.ucd: supporting Unicode database for lib.xsd_regexp"
  • b26d5fc: Revert "lib.xsd_regexp: implement unicode ranges"
  • 6fcebb8: Revert "lib.maxpc: decode UTF-8 input", revert lib.xsd_regexp to ASCII-only
  • 1187fc7: lib.xsd_regexp: implement \i, \I, \c, and \C
  • 074ff0c: lib.xsd_regexp: implement backtracking
  • 1be3a55: lib.yang.schema: fix parse_range
  • de468cb: lib.yang.data: implement range and pattern restrictions
  • e54b5f6: lib.yang.data: do not compile pattern validator for empty set of patterns
  • 88cbeb0: lib.yang.data: only run pattern validator on string values
  • d1a7409: lib.yang.schema: fix bug in selftest (range can have multiple intervals)
  • e577721: program.lwaftr.tests.propbased.genyang: adapt to new range format
  • 090d617: lib.numa: skip selftest if running on a non-NUMA machine
  • 2ece0c1: lib.numa: more fine grained approach to 090d617
  • 6783dac: lib.interlink: use attribute((packet, aligned(64))) to align s
  • cae2554: apps/interlink: turn test.lua into Snabb script selftest.snabb
  • 022ab0c: apps.interlink: add duration parameter to selftest.snabb
  • d1adbcb: process group: rebalance packets exchanged across process boundaries
  • 9f0694f: core.packet: extract packet.account_free from packet.free
  • 756255c: DynASM: add CMPXCHG instruction
  • d05da38: core.sync: add atomic compare-and-swap primitive based on CMPXCHG
  • 9dfa543: interlink: adapt interlink and related apps to group freelist
  • 020a9fd: core.sync: consolidate core.spinlock into core.sync
  • 302f952: core.app: pass app name as second argument to :new in start_app
  • 4686cbf: apps.interlink: use app name to derive SHM interlink path
  • cb9250f: lib.interlink: fix life-time fsm design and implementation bugs
  • 274ea4b: core.packet: do not count packets reclaimed from group_fl as freed
  • 59caa02: apps.interlink: shutdown handler to release stale attachments
  • b1472e8: lib.interlink: integrate with shm.open_frame for snabb top
  • 5ac340e: core.shm: explicitly open shm objects read-only in open_frame
  • 95de704: lib.interlink: fix outdated comments
  • 154d63c: lib.interlink / core.main: fix shutdown bugs
  • 72aadf7: lib.interlink: take advantage of non-excl shm.create semantics
  • 44b4cdf: core.packet: use ffi init argument to initialize packet_fl
  • 5ac6e7b: core.packet: enable group freelist only on demand
  • 02bdf78: apps.interlink.*: add user-facing documentation.
  • be6c657: lib.maxpc: fix backtracking “zero or more” combinator match.all
  • c583ac7: apps.interlink: fix documentation bugs
  • 5fbe79e: apps.interlink: avoid engine/appname kludge by attaching in :link()
  • a083487: Revert "core.app: pass app name as second argument to :new in start_app"
  • 00acc77: apps.rss: include documentation in genbook.sh
  • b699d7e: apps.interlink: allow specifying queue name per config

R. Matthew Emerson (1):

  • c888a86: Simple spinlock implementation based on xchg instruction.

hepeng (2):

Compare
Choose a tag to compare

This release includes the newest version of Igalia’s lwAFTR, as well as a powerful new load testing tool. Also in the mix is an easy way to test Snabb on platforms that support Docker such as OS X, a new “unhexdump” tool that synthesizes packets from hexadecimal encodings, and significant performance and stability improvements. As usual, Edamame also includes assorted bug fixes.

Changes

  • #1328 #1330 #1331 merge Snabb lwAFTR releases up to 2018.04, this includes a new program loadtest which gauges maximum sustainable load of a networking function, as well as fixes to lib.ptree
  • #1326 improves intel_mp selftest more reliability
  • #1289 adds a minimal Docker image that eases testing on e.g. OS X
  • #1274 adds snabb unhexdump tool
  • #1300 fixes a race condition during supervisor setup
  • #1287 optimizes breathe loop by removing unsunk allocations
  • #1271 adds a showcase program that implements DNS service discovery
  • #1308 #1272 include various bug fixes and improvements

Contributors

Alexander Gall (1):

  • 279aa38: core.app: remove garbage when using pace_breathing

Andy Wingo (53):

  • 3e7d2b5: Fix "snabb lwaftr run" after lib.scheduling refactor
  • 47588b9: Split YANG getter-at-path out to own module
  • 667b843: Move generic data-at-path utilities to lib.yang.path_data
  • feab012: Rename program.config.json to lib.ptree.json
  • a83a827: "snabb config listen" more lenient about missing paths
  • bd689ff: "snabb config listen" can take schema / revision from directives
  • 8798307: Add ability for ptree manager to record incoming RPCs
  • 9572bde: Wire up --trace for "snabb ptree" and document
  • fe328da: Wire up a --trace argument for the lwaftr
  • 9662280: Reduce memory use for get-config RPC
  • 008a4b8: Increase response length limit from leader from 100M to 1G chars
  • bd9a8da: Improve speed of yang qstring parser.
  • 3e2fecb: Fix ptree trace selftest
  • 7136c24: changelog
  • ee03a98: Fix data_grammar_from_schema for empty cases
  • 631357c: Rewrite random YANG path selector and value generator
  • c752d1d: Remove unused imports
  • cf61265: Simplify test
  • 8ce8872: Add "snabb unhexdump" tool
  • 383fd83: Process tree runs data-plane processes with busywait=true by default
  • c6d0e22: Pcap savefile writer records frame sizes
  • 3cf4cda: Sizes for "packetblaster lwaftr" are frame sizes
  • c55199b: Fix up packetblaster lwaftr selfchecks
  • fe08efb: Address review nit
  • 2876c6e: Revert "Pcap savefile writer records frame sizes"
  • 75ee990: Regenerate packetblaster lwaftr test files
  • 87c4263: Regenerate packetblaster lwaftr test files
  • d9b6512: Fix next-hop discovery with multiple devices
  • b38ae3a: Remove early lwAFTR NUMA affinity check
  • 05bffbc: Move "loadtest" command out of lwaftr
  • 09ce69e: Fix ctable resizing logic
  • 3142fad: Fix sense of ctable resize limit
  • db8b2c4: Make minimum ctable size uniform
  • f31e840: Add limit-finding loadtester.
  • 047018a: Add find-limit --exec to README
  • da3a2f8: Make supervisor setup more reliable
  • 459ee99: Make supervisor setup more reliable
  • 0736ffd: Fix out-of-bounds write in ctable test suite
  • 55bf2e3: Promptly close util.ls() dir fd; fix bug with deleted entries
  • 828641f: Remove lib.files_in_directory
  • f133f7f: Promptly close fd in random_bytes_from_dev_urandom
  • 1e6f852: Fix modification to lib.hardware.pci.scan_devices
  • 65cbc01: Set SNABB_RANDOM_SEED for intel_mp tests
  • a5bed82: Claim name in central lwaftr ptree manager function
  • 703f1a9: "snabb config" tests wait until ptree manager socket is available
  • 69f545b: Revert lwAFTR-specific version change for merge to upstream
  • a1efb46: Harmonize style in changelog
  • d51d0d5: Changelog for lwAFTR v2018.04.01
  • 99ffe31: Fix removal of v2018.01.2.1 header
  • bb63b39: Fix missing closing backtick
  • 54a5402: Flip sense of conditional-skip of IPsec end-to-end test
  • f03ba1b: Test on presence of SNABB_IPSEC_ENABLE_E2E_TEST, not value
  • 3f94ce5: Bash programming is known to the State of California to cause confusion

Diego Pino Garcia (23):

  • 459a936: Fix property-based test stall
  • ea5228c: Fix lwaftr selftest run
  • f57c75e: Rework alarms timestamping logic
  • 73caaaf: Add DNS-SD program
  • 3c9edf0: Show error if running on loop-back interface
  • 373b42b: Enable alarm notification
  • dca505c: Fix variable name
  • 191e655: Fix error message
  • 77f7abc: Fix path to transient README
  • cb68e08: Check status code in monitor test
  • 9e2f5da: Temporarily disable ipsec selftest
  • b4629a7: Snabb lwAFTR v2018.01.2.1
  • 1ad64e4: Changelog 2018.01.2.1
  • 8010951: XPath formater fixes
  • c55b21b: Fix tests
  • 25c8ad6: Implement alarm shelving
  • 7f6791d: Add failsafe parameter to common.parse_args
  • 76d0a89: Refactor argument parsing
  • 419c943: Fix error message
  • 5cd8b1b: Update README
  • aa31d24: Implement table_is_empty
  • d35cdd5: Rename 'failsafe' to 'allow_extra_args'
  • 2e8a5f9: Fix undefined variable

Jessica Tallon (6):

  • 468e72c: Fix small mistake in arp documentation.
  • d9ac366: Fix find-limit by checking actual throughput rather than requested.
  • 6e07332: Extend find-limit to support multiple NICs.
  • aa435ba: Support the old argument format and fix nits
  • d10a840: Remove unused fatal function
  • bcda559: Fix a few more minor nits :)

Luke Gorrie (2):

  • e9ee18a: README.md: Add link to Slack auto-invite page
  • 72b9b3c: .version: bump to 2018.04

Marcel Wiget (11):

  • 7d44865: [wip] use socker server mode
  • 7fce594: undo previous wip
  • c81176e: build snabb docker container
  • 3337ae8: make clean before build to avoid using binaries built outside of docker
  • dff8877: adding container build and run instructions
  • ba390ec: src/snabb wrapper when building container snabb
  • 3a4015c: document snabb wrapper script
  • b9ae0d7: adjust if statement to work in dash too
  • a095968: merging launch-docker-container.sh with dock.sh
  • d806fe0: use separate docker run commands
  • b7f6ab2: run container privileged and build src

Max Rottenkolber (4):

  • 2468f7c: intel_app: run selftest even though its not the default driver anymore
  • 35539ec: Correct/extend doc/snabblab.md
  • 58883b1: snabb top: minor formatting fixes
  • 664f378: intel_app: fix skipped message with regard to 2468f7c
Compare
Choose a tag to compare

This is another bugfix release that amends Daikon with #1294, which works around some unreliable CI tests.

Compare
Choose a tag to compare

This is a bugfix release for Daikon that fixes numerous CI failures introduced by it. It includes: #1280 #1277 #1273 #1283

Contributors

Andy Wingo (1):

  • 0c295ba: Fix "snabb lwaftr run" after lib.scheduling refactor

Diego Pino Garcia (2):

  • 5121fe8: Fix property-based test stall
  • 3b78121: Fix lwaftr selftest run

Max Rottenkolber (3):

  • 636bb65: apps.ipv4.reassemble: fix a copy paste error at end of selftest
  • af47642: apps.ipv6.reassemble: same for ipv6
  • f4b9e86: doc/branches.md: take over fixes maintainership from lukego

Michael G (4):

  • ddd90d2: Naive i350 fixes
  • 818c8b7: queue_registers, not registers
  • 68f0cd5: Fixed bits() on RO register
  • 19b5620: Detect PCI -> port mapping
Compare
Choose a tag to compare

This release includes a new fleshed out version of Igalia’s YANG based
configuration subsystem—now known as lib.ptree, for “process tree”, as well as
Alexander Gall’s l2vpn, a virtual multi-port Ethernet switch on top of a plain
IPv6. Additionally, lib.ipsec now support ESP in tunnel mode. As usual, Daikon
also includes assorted bug fixes.

Major Changes

  • #1257 Reworked multi-process reconfigurable network functions
  • #1261 Upstreamed Alexander Gall’s l2vpn
  • #1266 lib.ipsec: add support for ESP in tunnel mode

Minor Changes

  • #1220 lib.ipsec: added IPsec ESP interoperability test with Linux
  • #1259 core.link: free packets during link.free
  • #1260 snabb top: fixed a bug; should have improved performance

Contributors

Alexander Gall (64):

  • a4acb5f: Add a Snabb program to construct a complete L2VPN endpoint
  • cd89bed: Fix identification of proper p2p VPN
  • c4cc025: Add documentation
  • a9d1ca8: Untabify apps/intel/intel1g.lua
  • 2ebacf2: Fix regression introduced by 11a19ce
  • b06fbb6: Amend the list of devices supported by the Intel i210 driver
  • f2f400a: Add configurable MTU to intel1g.lua
  • cf6e415: Add SNMP support to intel1g.lua
  • 8777c5f: Fix bridge post_config() call
  • 3a3f81e: Use /tmp to store test data in pseudowire selftest
  • b68519d: Fix ifSpeed in intel10g and intel1g
  • 5886ebc: Use logger:can_log() in l2vpn tunnel modules
  • 57848e7: Improve performance of the VLAN multiplexer
  • 53e930b: Set ifAlias, ifDescr in intel drivers
  • 0f5f76e: Add oversized packets counter to ifInDiscards for intel10g
  • 244b0a2: Add app for static ND
  • 32b8767: Add VLAN support to the l2vpn program
  • a6032d6: Remove MAC addresses from pseudowire app
  • aac33d4: Allow per-PW control-channel disable override
  • 1a55b0e: Add missing image files
  • c38a501: Fix bug in l2vpn
  • 93f94f8: Remove SNMP code from Intel drivers
  • e5f14ce: Extract physical MAC address in intel10g
  • 47eaceb: Make ND apps reconfigurable
  • 771f7a4: Fixes for new packet API
  • d7e9c39: Fixes/enhancements for iftable_mib.lua
  • 31d6911: Streamline SNMP config in l2vpn
  • 7e9fba1: De-couple SNMP setup from ND reconfig
  • fed01a8: Add SIOCGIF{FLAGS,MTU,HWADDR} ioctls to ljsyscall
  • f71c64f: Augment stats counters for apps.tap.tap
  • d59c806: Properly count the number of pseudowires
  • 134b4ce: Disable interrupts in intel10g
  • f920867: Make waiting for link-up optional in intel{1,10}g
  • 5e7f8dc: nd_light: add option to reduce verbosity
  • 9365ce3: Fix program/l2vpn/pseudowire selftest
  • c821bf2: Fix l2vpn pseudowire for new packet semantics
  • 47fa2ce: Fix tap after merge
  • e912fa3: intel1g: replace lib.timer by lib.throttle
  • b3c1b6b: nd_light: add "quiet" option to config template
  • 7e4f8d3: inetl_app: add "wait_for_link" option to config template
  • 4fdd530: l2vpn: switch to intel_mp drivers
  • 916f6c8: l2vpn: add extra_config to driver configuration
  • 2833f21: l2vpn/README.md: Fix indention
  • e498067: l2vpn: document new extra_config driver configuration item
  • c9bbb85: l2vpn: use intel_mp in README throughout
  • 5f763e1: Remove intel1g driver
  • 22d5ebb: Revert intel_app, inetl10g to upstream/master
  • 4400bbf: intel_mp: move shm initialization to constructor
  • 3b0c82f: iftable_mib: streamline processing
  • 9bec79f: Tap: add support for MTU, operational status
  • 47aee50: l2vpn: access interface counters via read-only shm frames
  • f094f74: apps.vlan: use config parser, update README
  • b61c4b0: nd_light: add optional option local_mac
  • dd0a91c: nd_light: fix bug in NS validation
  • a9c0ddf: program.l2vpn.l2vpn: only use nd_light
  • 23ffbb5: l2vpn: support dynamic reconfiguration
  • 50ba67d: core.app: fix bug in reconfiguration
  • da5346b: l2vpn: add port-mirroring option
  • d5960dc: apps.vlan.vlan: remove assert in VlanMux link()
  • a886ed3: apps.ipv6: document quiet option of nd_light
  • 54b99f8: l2vpn: re-write of app network construction
  • 8c5ea03: l2vpn: fix bug in app links generation
  • 96026fd: Fix bug in p2p optimization
  • 821fd8d: Add -jopt option to l2vpn program to set JIT options

Andy Wingo (215):

  • dd73f5a: Fix structural typing of YANG data
  • 34a0dc4: Worker processes have useful process name
  • 950d2b2: lwaftr: main process should not run at 100% CPU
  • 1163af7: yang: Mark list keys as mandatory after expansion
  • 354a18c: Better support for identity in YANG schemas
  • 4e9b818: yang: Attach default prefix to identityref type nodes.
  • 09e7267: Enable YANG data range and length validation
  • 71345f3: Fix schema test for range representation change
  • 0439614: Remove unused code
  • b231028: Adapt property-based test generation for range change.
  • 4f6de01: Leader should poll follower for its channel. (#866)
  • 8291a3a: Remove Ethernet-specific code from lwAFTR app
  • c0abcf0: Move NDP app to ndp.lua
  • 22af99d: Inline helper function only used by NDP app
  • df58830: NDP assigns random MAC addr if needed, stamps MAC on outgoing packets
  • 7d71c27: Localize more functions in ndp.lua
  • fbbc1f7: Fix bugs in migrated NDP app, add test
  • d300df6: Use more structs in NDP implementation
  • 3d9ad9a: Convert advertisement part of NDP app to FFI style
  • ae714b6: Finish refactoring NDP to FFI style
  • 5931f63: Finish cleanup of NDP app
  • 581589e: Fix NDP nits.
  • a6cc106: Fix errors constructing NDP packets
  • 0995226: Remove backpressure from IPv4 ping responder
  • 3930a04: Reindent lib.yang.state
  • 3d26a46: More robust lib.yang.state find_counters routine
  • 6fe8424: YANG schema inherit-config phase gives all nodes config property
  • 9da160e: Separate YANG grammars for config and state data
  • 42d4e34: Fix grammar generation
  • 45ab10c: Unify lwAFTR and other state query around YANG
  • 49c7c81: Lwcounter module uses YANG to know available counters
  • 259ffdb: Attempt to fix snabbvmx check
  • 4f1fc20: README reformatting to trigger CI
  • 40d4373: Fix snabbvmx some more
  • 37268cc: Revert change to snabbvmx lwaftr
  • d66184a: Add YANG docs to documentation build.
  • 6c9af14: Fix YANG doc link.
  • b00485e: Snabb lwAFTR version is Snabb version
  • d75381a: Fix bugs in generate-binding-table.
  • a3557d9: Release Snabb lwAFTR 2017.07.01
  • d8fd1c0: Fix typo.
  • 745b5b2: More robust name-to-PID mapping in query test
  • 08d30f7: Work around race condition in query tests
  • 7fd3622: Beginning of separating out IPv4 reassembly app
  • cd90b37: Remove unused vlan capability from fragmentation tests
  • 64bfbb5: Further work to separate IPv4 reassembly from lwAFTR
  • d01a489: Style cleanups in reassembly tests
  • d999ef0: Tighten packet generation for reassembly tests
  • c294c2c: Use fragmenting app, not library, when testing reassembly app
  • dbd18ad: Simplify reassembly test
  • 03e9e6a: Inline reassembly test into reassemble.lua
  • d719cfa: Clean up reassembly header
  • f2bad7a: Rewrite reassembly tests to be exhaustive
  • 839e9ea: Remove global state in reassembler
  • 62203fa: Beginning of moving reassembly to FFI style
  • 0b6a8d4: Finish moving reassembly to FFI style
  • 896c5ae: CTable random eviction wrapper uses ctable API
  • 1cbc626: ctable add method returns pointer to entry, not index
  • 01efd22: Inline reassembly handling
  • fa75b19: Inline more reassembly helpers
  • 781dd8a: Minor reassembly cleanups
  • 5a95294: Reassembler embeds struct packet
  • 5b04a44: More small reassembly cleanups
  • c7b8b69: Tighten up validation of reassembly input packets
  • 232fe4c: Reassemble app uses SHM frame to open counters
  • 4fe94b7: Rename reassembler config params
  • e90371e: Add IPv4 reassembler documentation
  • 90b9c54: ctable:add() should return a pointer, not a reference
  • 597f744: IPv4 reassembly: Periodically update counters
  • 366d3b8: Fix IPv4 reassembly bugs
  • 707c1e7: Adapt counters to new IPv4 reassembly table size
  • 087d3b8: IPv4 reassembly passes through non-IPv4 packets
  • 673d48c: Update README
  • 260fc85: Update reassembly counter expectations
  • a1781e7: Begin extracting IPv6 reassembler out of lwaftr
  • 033ccb8: Add IPv6 reassembly tests
  • ca370fd: IPv6 reassembler: finish converting to FFI style
  • 48485f3: IPv6 reassembler passes through non-IPv6 traffic
  • 15e7ec8: lwcounter avoids creating counters for IPv6 reassembly
  • b80b7c9: Update IPv6 reassembly counter memory use expectations
  • 05ad9d6: Begin extracting IPv4 fragmenter from lwAFTR
  • 1483c6d: Add exhaustive IPv4 fragmentation tests
  • 6a53389: Add fragmentation comment
  • 97cd285: Fix IPv4 reassembly when last fragment is full MTU
  • e6c3bc2: Start to convert IPv4 fragmenter to FFI style
  • f077775: Inline fragmentation code into app
  • f7b87d8: IPv4 fragments and transmits directly
  • d54d4ed: Only test valid MTUs for IPv6 reassembly
  • a11da97: Port IPv6 fragmenter to new style.
  • b3a873f: Fix nondeterminacy in "snabb lwaftr check"
  • 045ff0c: Fix previous patch
  • 136fdc6: Move fragmentation-disabled drop counters back to lwAFTR
  • 8673288: Fix unintentional hairpinning in lwaftr config_test.
  • 520d5db: Convert lwAFTR to "shm frame" mechanism
  • 107c999: Fix whitespace issue
  • 44515e7: Extract ICMP echo responders from lwAFTR
  • da223f5: Inline some ICMP helpers into their use modules
  • 5de181e: Minor ICMPv4 echo responder refactors
  • 4b484e6: Port ICMPv4 echo responder over to FFI style
  • 0729fce: Rewrite ICMPv6 echo responder into FFI style.
  • 7e64823: Add documentation for ICMP echo responders
  • 5522091: Remove "snabb lwaftr run-nohw"
  • 2f2a912: Remove run-nohw test.
  • bab1b8a: Remove apps.lwaftr.conf
  • d9988f6: Remove unused apps.lwaftr.dump
  • 0c6862b: Remove unused apps.lwaftr.generator
  • 5fa5807: Fix "snabb snabbvmx lwaftr"
  • 9223f80: Fix snabbvmx again
  • a7bd117: Comment to force CI to run again
  • b506394: Add needed import
  • b68815f: Fix needed import.
  • 293e50d: Remove a couple of unused imports
  • d95799c: Convert lwAFTR to use methods
  • bfa07ee: Inline lwAFTR helper ICMP library into lwaftr.lua
  • 10dca61: Inline lwheader.lua into lwaftr.lua
  • 82236b8: Remove unused lwtypes includes
  • d2022fb: Remove unused definitions from lwtypes
  • 99e5b0f: Inline lwtypes into lwaftr.lua
  • 57c1f00: More consistent naming of FFI types in lwaftr
  • c8d5d48: More minor lwAFTR style refactorings
  • 3abe151: Shorten names in write_ipv6_header
  • 471b69a: Fix error introduced by refactoring
  • 67873f1: Repeater apps have push functions instead of pull functions
  • b097e4b: Stabilize breathe order
  • 4f12e09: Allow LPM self-tests to complete even if no CPU affinity
  • e673303: Restart CI
  • a77330d: Add -j option to "snabb lwaftr run" and "bench"
  • c59e2e3: Add documentation
  • fa9f31a: Ingress drop timer doesn't count drops in the 10 seconds after a flush
  • 97910f3: Snabb lwAFTR v2017.08.01 release
  • c28e111: Add cpuset module
  • 6d2050b: Allow multiple CPUs via --cpu
  • 154163c: Print out the CPU to which we bind data plane processes
  • dc1e667: Add lwAFTR changelog for v2017.08.02
  • 9630c34: Snabb lwAFTR v2017.08.02
  • 080e5ea: Use false instead of "off" to disable intel_mp txq/rxq
  • b45149e: ChangeLog for v2017.08.03
  • 8f93a85: Snabb lwAFTR v2017.08.03
  • 4d73be0: RSS queue ID in examples is 0, not 1
  • fb18030: lwaftr run migrates configs in place
  • 326ebd9: Simplify parsing of single-instance lwaftr configurations
  • 5a279a3: Set queue ID as RSS queue ID
  • c5df53c: Add dedicated copier for YANG data
  • 70d2dd2: Produce one worker config per device and queue
  • b2d006f: Worker ids built using RSS id, not containing struct
  • 1286b07: Fix error in snabbvmx setup
  • 31b2084: Fix another error in snabbvmx setup
  • d6974ca: Another friggin snabbvmx error
  • c133476: Zero out synthesized lwaftr packets
  • 9d30c3c: Update benchdata/ packets to match test configurations
  • 940f0db: Fix bug printing error in config leader
  • edb15dd: Fix accessing first queue
  • 1cccf7a: Fix sparse cltable value serialization
  • 0e73d94: Fix insertion into sparse cltables
  • 293838e: Fix serialization of sparse arrays, again
  • e29810f: Fix yet another sparse cltable serialization problem (!)
  • b5de0d5: Update configuration.md to discuss RSS.
  • 5e159f0: Fix inconsistencies in documentation.
  • 59dec82: Reflow text
  • dd5c53b: lwAFTR always uses pool 0.
  • 2ea981c: Change log for Snabb lwAFTR v2017.08.04.
  • 72f2fe3: Snabb lwAFTR v2017.08.04
  • d3b3c87: Use different pool numbers for on-a-stick VMDq interfaces
  • 9f769e0: Ignore unexpected ARP replies
  • e15b305: Workers can communicate next-hop MAC address between themselves
  • c72c6c2: Workers can communicate next-hop MAC address between themselves (NDP)
  • f66b085: lwAFTR configures ARP and NDP with shared_next_mac_key
  • bc41ec3: Give snabb-softwire-v2 a different namespace from snabb-softwire-v1
  • 59fcb91: Avoid leaking shared next MAC key in ARP
  • 8216ef6: Avoid leaking shared next MAC key in NDP
  • 1fbb5a9: Update lwAFTR reconfiguration docs for new YANG schema
  • 709470a: Add snabb alarms documentation
  • 9ba052a: Prepare for Snabb lwAFTR v2017.08.05
  • bc32917: Add new ietf-softwire-br, ietf-softwire-common schemas
  • 878f1d4: Implement "refine" support for YANG schemas.
  • 9467691: Fix typo
  • d153c4c: Fix ietf-softwire-br by lifting per-instance state into traffic-stat.
  • 4631a6f: Fix querying config or state data by path when choices are involved
  • 14dd544: Fix "snabb config get-state" for foreign schemas
  • 27703e0: Add support for new ietf-softwire-br
  • 46a30ee: Remove support for ietf-softwire; ietf-softwire-br now default
  • d28efc9: Fix typo
  • 55ad468: Fix nits
  • d0cd819: Snabb lwAFTR v2017.08.06
  • bd9609e: Fix bug in cpuset:release()
  • fde3434: Copy app.config to lib.ptree ("process tree")
  • 3704987: Rename lib.ptree.leader to lib.ptree.manager
  • 3619ac2: Rename lib.ptree.follower to lib.ptree.worker
  • 90b7c2f: Add lib.scheduling
  • 67e44e8: Rework ptree manager to handle worker scheduling
  • aaeac1b: Make worker app private
  • 49651f8: Rework ptree worker to be library, not app
  • 7473408: Refactor ptree manager to be lib, not app
  • d49eb7d: Ptree manager stop() method shuts down workers too
  • 356d34e: Ptree worker refactors
  • 9490757: Add ptree manager log facility; fix manager main function
  • 9511c0b: Update ptree worker comment
  • 7c0d1a1: Ptree manager runs timers
  • 3c5f169: Ptree manager has "state change listener" facility
  • 6080eca: Timers can be cancelled
  • 5c3600a: Port lwAFTR over to use lib.ptree
  • cb72a6e: Remove apps.config
  • 27280f4: Add facility to add yang schemas to Snabb's database.
  • 9420075: Rename lib.ptree.manager to lib.ptree.ptree
  • d6e0229: Add "snabb ptree" program
  • 7ee2983: Update ptree documentation
  • a77867a: Add programs.inc to gitignore
  • 68d70ba: Fix example ptree setup.lua
  • 378701c: More useful cpuset
  • 4e96594: Fix NUMA node in cpuset warning
  • 42191ac: Return ptree manager socket name to old name
  • afe2fbd: If "snabb config" doesn't have a schema, fetch remotely
  • f034af8: Remove debugging printout
  • ee6537f: Enhance ptree readme with multi-process example
  • 024b3ed: Finish "snabb ptree" docs

Asumu Takikawa (5):

  • 25090ca: Adjust how intel_mp VMDq enabled state is checked
  • ff12ba8: Adjust how VMDq pool selection works
  • 74da3fe: Allow either 32/64 pools depending on queuing mode
  • 66d38f3: Fix pool selection coordination for manual case
  • fbdb671: Canonicalize PCI addresses for intel_mp shm refs

Diego Pino Garcia (129):

  • d41ff02: Sanitize YANG lists
  • 33dd33c: Snabb lwAFTR v3.1.8 change log
  • 4a2f332: Support type 'ipv4-prefix'
  • 1b199b7: Remove undeclared variable 'program_name'
  • 05c1e7b: Implement identity lookup and validator
  • b459d51: Add IETF Yang Alarms module
  • 1000d46: Parse Yang version as 1 or 1.1
  • 125a2fc: Add support for empty type
  • 1056e53: Addressed review comments
  • 38d943f: Enumerations should be treated as strings when compiling to binary
  • 3f6cf3f: Add binary compilation of enumerations test
  • ad69902: Add enum validator
  • 6effb2f: Add enum initializator
  • 6571b3d: Remove one value attribute from enumerations definition
  • d6b3442: Address review comments
  • 90163b9: Fix enums validation
  • c0ef6c9: Assign type.unions in typedefs
  • 1536479: Print 'wrote compiled configuration' message only if succeed
  • e18c327: Upgrade ietf-alarms YANG module
  • b3f926c: Add leafref to types table
  • 2241347: Do not modify a map while iterating over it
  • 471e88c: Print out schema information in parents
  • e0eedbb: Add binary serialization support for identity-ref
  • e3eb9de: Add option to print out default values in 'config get' and 'config get-state'
  • 0a09031: Update README
  • 9ee004a: Update config/README documenting --print-default knob
  • 2b7702e: Improve parsing of snabb config query paths
  • a6c86a8: Replace missing function 'table_count' for 'table_size'
  • 7f3be77: Implement XPath data printer
  • fbe4a9c: Support xpath-printer knob
  • 61c7279: Update docs
  • 5204ea5: Rename xpath-format to format
  • d124052: Print out table in XPath format
  • be73854: Fix key composition
  • 0a47c05: Handle special cases when root path includes trailing slash
  • 2b0cf7f: Support print out of arrays in XPath format
  • cf8a7ef: Append accumulated path when print a struct keyword
  • a516bf8: Top printers should print absolute path too
  • 9eb95fb: Support print_default in scalar top_printer
  • a79af52: Remove trailing semicolon
  • a81c331: Allow a string argument to be empty
  • 6cdb03c: Implement alarm_codec
  • 87bf337: Basic alarms channel mechanism
  • 03240ca: Decompress paramaters individually in raise-alarm and clear-alarm encoding/decoding
  • 24d9d41: Group decompressed arguments into key and args
  • 4e9d594: Notify raise and clear alarms in ARP app
  • 45848b2: Create alarms-channel if it doesn't exist
  • 2b4184d: Emit alarm notification in ARP app only if set
  • 3aa3868: Encode raise-alarm and clear-alarm directly
  • 2912b6c: Make alarm_notification flag a local
  • ed7f5b4: Move function set to core/lib.lua
  • 2bf2021: Document lib.set
  • e002498: Implement YANG empty datatype
  • 4fde7bc: Compile empty leaves as a boolean flag
  • 801a493: Substitute references to leafref datatype for string
  • 4212073: Comment use of instance-identifier as it's not currently supported
  • 52751f2: Add alarms capabilities
  • fa69e91: Extend snabb-softwire-v2 with alarms containers
  • 1723026: Load alarm inventory and fetch alarm state
  • 22379b8: Apps add their own alarms to the global alarm repository
  • 27c6bef: Implement declare alarms
  • 7f94090: Enable alarms in NDP app
  • e84e158: Implement raise alarm logic
  • 8210939: Implement clear alarm logic
  • 64974da: Fix nits
  • 974b3bd: Add encode:maybe_string
  • 60174c0: Make alarm_list:copy private
  • b07a44a: Fix unroll of sparse table
  • 8ae762d: Fix followers iteration
  • 57e5b28: Break tail call in htonl
  • 93b4818: Optimize creation of psid_map
  • 7601615: Documented need of parenthesis in htonl and htons
  • 0fd4236: Adapt requires_splitter to new configuration format
  • 6764c62: Implement set-operator-state
  • c6f9b9d: Implement RPC set-operator-state
  • b116e30: Rename set_operator_state to set_alarm_operator_state
  • 2710a04: Raise error on set_alarm_state
  • 1cc027b: Update README
  • 46660fa: Rework argument parsing
  • 3c49cfe: Add set-alarm-operator-state to README.md
  • 750221c: Implement purge-alarms
  • 506c4f0: Add RPC definition of purge-alarms
  • 27874ea: Fix nits
  • 3c45df9: Implement compress-alarms
  • 0a5b4d9: Implement RPC compress-alarms
  • f5887c1: Fix format of compress-alarms command
  • 80b7fa9: Missing statements in snabb-softwire-v2 schema
  • 5699643: Implement alarm summary
  • 6643388: Decouple alarms declaration
  • 16299e2: Remove tabs
  • a7d8bac: Move apps.lwaftr.alarms to program.lwaftr.alarms
  • 3053ee8: Remove alarms container from snabb-softwire-v2
  • 0e297f2: Add subprogram to fetch alarms state
  • d411ec2: Do not append alarms state in lib.yang.state
  • 7035b2b: Add alarms module
  • 97f918e: Assert schema is 'ietf-alarms'
  • 8d9eb5b: Move alarms related subprograms from config to alarms module
  • ef46bec: Rename set_alarms_operator_state subcommand to set_operator_state
  • c052080: Modify README
  • eb73690: Adjust alarms related programs
  • 631f73a: Customize usage for each alarms command
  • 68002b1: Make alarm_type.resource a single data type
  • 444cc70: Rename 'alarm_codec.parse_args' to 'alarm_codec.to_alarm'
  • d296d40: Temporarily deactive alarms overwritten by lwaftr
  • 41096e7: Make add_to_inventory a message passing command
  • ebeca50: Make declare_alarm a message passing command
  • 162caff: Replace ARP resource identifier for PID
  • c84e156: Add alarms API method to set default alarms
  • fe969b2: Preserve previously defined resources
  • 558bbf9: Replace NDP resource identifier for PID
  • 8458d8c: Return '' if empty string
  • 672a32c: Fix alarm_codec test
  • 42e946c: Check default alarm exists before accessing it
  • 6ec0eb2: Fix lib.yang.alarms test
  • 8d20ddc: Clear alarm only if it previously existed
  • 833abd7: Raise alarms if bad-softwires matches go over threshold
  • 60ef3c9: Move alarm checks to beginning of push function
  • b6102f0: Implement ingress/egress IPv4 and IPv6 filter alarms
  • 1123663: Raise alarm if incoming IPv4 fragments reaches limit
  • 921e7bd: Raise alarm if incoming IPv6 fragments reaches limit
  • 4a896e4: Raise alarm if outgoing IPv4 fragments reaches limit
  • fbe86c1: Raise alarm if outgoing IPv6 fragments reaches limit
  • c5c8cf9: Alarm helper class for querying expressions
  • 85a7bd4: Implement ingress bandwith and packet-rate alarms
  • b9fad56: Implement ingress packet drops alarm
  • 887d048: lwAFTR specific alarms documentation
  • 226d8af: Rename ExprAlarm to CallbackAlarm
  • 57621f3: Fix typo in require
  • b0fe977: Do not print out counters which are not defined

Jessica Tallon (116):

  • 854d1bc: #683 Add version 2 of snabb-softwire yang file
  • 47db93b: #683 Add config migration for snabb-schema-v2
  • 32fc3d4: #683 Convert the lwaftr test configs to v2
  • ea1be8a: #683 Update generate_binding_table.lua for config v2
  • b194d4a: #683 - Fix typos in generate_binding_table.lua
  • fbd45f3: #683 - Fix snabb-softwire-v2 module name & add revision
  • 942c8e1: #683 - Add mandatory to br-address leaf in snabb-softwire-v2
  • 644564a: #683 - Convert codebase to use snabb-softwire-v2
  • 4eff4d4: #683 - Generalize migration and fix for printing
  • 5755a1d: #683 - Convert config commands to snabb-softwire-v2
  • 2cb1ee7: #683 - Convert documentation and some tests to snabb-softwire-v2
  • e20dd82: #683 - Migrate snabbvmx configs and some more tests
  • d587d2c: #683 - Migrate lwaftr's vlan test configs
  • 1d1e6fb: #683 - Correct the version number for config migration
  • 650b0ff: Fixes problem with large migration files
  • 9d188e0: Remove comments and br_address list
  • 6af4025: Add new version to migrate-configuration README
  • 4e8deea: Remove unused local variable
  • 5a9cd59: Retrigger tests to run
  • 086bf1f: Updates the test for br-address on softwire
  • 0bf92ba: Fix small nit in config test
  • 98ade9e: Move psidmap onto softwire in snabb-softwire-v2
  • 2e4b581: Add migration for psidmap on softwire
  • b759e1f: Convert lwaftr's data files to 3.2.0.1
  • 8a9aad4: Convert v2 migration to handle 3.2.0 and 3.2.0.1
  • 163438a: Update revision statement to include new port-set
  • 24407a2: Support new softwire in support and binding table
  • 8f62c22: Change binding table's psid map to ctable
  • 7d419bf: Add ability to add psid entries and update tests
  • f22b67a: Remove validate_config and validate_update
  • d69ed40: Fix migration to 3.2.0
  • 020659c: Update snabbvmx tests to the psid-map on softwires
  • 9e463a3: Fix a test to use snabb-softwire-v2 schema
  • 7cb536a: Fix a few more tests and remove redundent tests
  • 3f4d908: Fix config translation layer for ietf-softwire
  • c2408ff: Fix small nits
  • a1a3425: Update documentation for new schema
  • 7776572: Fix typo nit in docs
  • c96875f: Remove shift and padding parameters
  • 5eb7126: Update test data for removal of shift and padding
  • 6635dd4: Update migration for removal of shift and padding
  • 6db0b08: Update snabbvmx configs to remove shift too
  • c833507: Fix migration to handle larger files and add padding leaf
  • c7cb145: Convert the binding table to use rangemap
  • d49aaf7: Fix small documentation and other nits
  • 35e23c4: Add test for lwaftr's generate-binding-table subcommand
  • 985359a: Fix small nit in generate_binding_table_test.py
  • c48d6af: Update generate-binding-table for new schema changes
  • 10c5029: Fix small performance nit
  • 43bfb5d: Update migrations fixing the port-set definition.
  • fc8980b: Fix lwaftr's migrate-configuration.
  • f27f70a: Fix lwaftr's test vlan configs
  • eac7acf: Fix some small nits
  • c295c2c: Add selftest for YANG choice type
  • 7699f77: Fix #835 - Support YANG choice statement
  • ef66b7d: Fix small nit in parser definition
  • efd24f7: Add choice statement printer for YANG data
  • 8b07e1e: Add YANG binary data emitter for choice statements
  • 5488770: Fix potential problem modifying a table during iteration
  • 725a915: Add test for choice support for YANG binary compilation
  • acb6707: Include the round which binary choice test fails
  • 0eb00d3: Fix bug where choice statements where not being written out correctly
  • 3f9ab2e: Add multiprocess support to snabb-softwire-v2
  • 37b5b13: Change instance list to have a list for RSS queues
  • 3f2d3e3: Addresses feedback on multiprocess changes
  • 6d8106e: Fix some small problems in YANG schema
  • ec7ec0f: Add migration for multiprocess snabb-softwire-v2
  • 48a7687: Migrate lwaftr testing config files
  • 27d7c7e: Convert lwaftr bench to multiprocess config for non --reconfigurable
  • 9bbf115: Add support for snabb-softwire-v3 for reconfigurable
  • 1dfb7e6: Convert test data from fixed PCI device to JIT based
  • 2d8f87f: Update tests and migration
  • 5f7c950: Add missed snabbvmx configs
  • ea311f6: Fix nit in snabbvmx setup
  • 127dcb8: Add checks for PCI devices and feed single instance configs to lwaftr
  • 0b73e25: Fix vlan tagging in new configuration
  • 049126c: Update documentation for multiprocess snabbs-softwire-v2 schema
  • 237a541: Update the version number to new format used by thew lwAFTR
  • 6b527a9: Fix a couple of typos and nits from review
  • 0444c7e: Restore --v4 and --v6 flags to lwaftr run command.
  • 737bf47: Fix small bug in retriving instance config
  • 27a6fc5: Fix small nit in documentation
  • ade39da: Fix some small nits
  • 9db1f51: Remove redundnet JIT files in selftest.sh
  • 096de03: Fix incorrect call to produce_instance_configs in snabbvmx
  • c626e21: Move back produce_instance_configs to lwutil
  • a3868d2: Fix testcases as manual migration is not needed.
  • 4e0efcf: Fix #876 - Improve config migration by chaining together
  • 5f5c257: Add selftests for snabb lwaftr migrate-configuration
  • 6f778a7: Reduce memory footprint of migration
  • d7abf53: This fixes the memory issues with util.string_output_file
  • 176906c: Deprecate reconfigurable flag
  • 95c1e4e: Fix few nits with depreaction of --reconfigurable
  • 65e447c: Start worker processes from leader
  • 9503b7d: Cleanup setup.lua to remove produce_instance_configs calls
  • 380df1e: Fixes Leader update configuration
  • a1a98c2: Maintain a single in_place_dependencies
  • c7b918c: Fix nits in variable names and comments
  • 0bd6d0c: Improve variable name clarity and make timer repeating
  • 0c4b0f8: Move sampling to setup
  • 7a64163: Support starting and stopping instances via snabb config
  • 155269b: Update ietf-softwire translation layer for multiproc
  • 44c0e36: Improve error handling in multiprocess tests
  • 949be79: Add empty.conf data for lwaftr
  • edc1e75: Shutdown the follower properly when removing
  • 0b742d1: Stop csv stats outputting for stale instances
  • f9b12ab: Only check for stale followers if one has been shutdown
  • ede1f8c: Fix nit
  • 8aec912: Add test for migration using --on-a-stick command
  • 71a0f9d: Appropriately choose on-a-stick or bump-in-the-wire
  • 34a2f63: Fix typo nits
  • 278501c: Fix get-state for multiprocesses in lwaftr
  • c893cbc: Add tests for multiprocess get-state
  • 8b8a244: Change default schema to ietf-softwire
  • 0d70e22: Fix indent nit
  • e0c037f: Fix tests

Kristian Larsson (1):

  • 74cfd80: Remove mandatory statement for list keys

Luke Gorrie (1):

  • a8a805a: .version: bump to v2018.01

Max Rottenkolber (20):

  • 879af86: core.packet: resize should return the packet like the other functions
  • 0a67162: lib.ipsec.esp: add support for tunnel mode
  • 1df5f63: program/snabbnfv/selftest.sh: move some functions to test_env for reuse
  • add01dc: Cleanup ipsec esp linux interoperability test.
  • cb28b63: apps/ipsec/selftest.sh: remove leftovers
  • 1600fcb: lib.ipsec.esp.decrypt_payload: properly handle packet underflow
  • b3072ab: lib.ipsec.aes_128_gcm: use consttime_memequal to compare HMAC
  • beab39c: lib.ipsec.aes_128_gcm: use fixed length ASM routine instead of consttime_memequal
  • d95d1cb: apps/ipsec/selftest.sh: add environment variable for skipping the e2e test
  • ae09895: lib.ipsec.esp.decrypt_payload: remove redundant bounds/spi checks
  • 2794f6a: core.link: free any packets left in link when freeing link
  • ac7c5e0: top: fix bug where counters were redundantly reopened
  • 413b661: lib.ipsec: update documentation w/r to tunnel mode and new interface
  • f0b2060: src/README.md: improve docs of core packet ops that clobber their input value
  • ee6cd0d: apps.ipsec: fixup incompatibilities introduces in esp-tunnel branch
  • 0faa510: Revert "src/README.md: improve docs of core packet ops that clobber their input value"
  • 73e88bf: lib.ipsec.esp: paddle back on "freeing" vs "ownership" in documentation.
  • da5293d: lib.lpm.lpm4: skip intensive test by default
  • 2c71c23: lib.numa: skip selftest if running on a non-NUMA machine
  • fcf0ff1: Revert "lib.numa: skip selftest if running on a non-NUMA machine"

Nicola Larosa (3):

  • 00af632: Allow running just one lwaftr test file (#859)
  • b04b85a: Stop the lwaftr monitor test from hanging (#858)
  • a5fa676: Improve the generate-binding-table test (#863)

Timo Buhrmester (2):

  • 28bb896: Fix minor things that crossed my path
  • 20a9c3e: ipsec test vs qemu works with vanfstd/snabblab-nixos:ipsec-linux-test (aad3824a2a703ff01bd44a5f065faee7d430cc2e) command: nix-build -K jobsets/ipsec.nix -A tests --arg snabbSrc /path/to/snabb
Compare
Choose a tag to compare

This release introduces a driver-agnostic interface to network interface cards
(NIC), and switches over to the new intel_mp driver as the default choice. In
addition, some efforts of making LuaJIT’s compiler more predictable have been
back-ported from RaptorJIT to Snabb. Endive also includes various bug fixes as
usual.

Major Changes

  • #1229 Implemented VMDq, VLAN insert/remove for intel_mp driver
  • #1199 #1234 #1236 #1248 Implemented driver-agnostic I/O interface
  • #1237 Prefer intel_mp as the default driver
  • #1242 Introduced jit.tracebarrier() primitive, to delimit JIT compiler
    traces
  • #1244 luajit: Record calls to blacklisted functions the same way as calls to
    uncompiled functions (this fixes a pathological case where a blacklisting
    could cause cascading failures of the JIT compiler)

Minor Changes

  • #1225 lib.hash.siphash: avoid ctype diversity for hash functions
  • #1230 #1247 #1190 Various intel_mp improvements
  • #1228 Fixed a bug in the wrapper of get_mempolicy(2) in ljsyscall
  • #1245 In case of a segmentation fault, we now log various interesting details
    about the faulting address before exiting
  • #1235 #1240 #1254 Minor bug fixes and enhancements

Contributors

Alexander Gall (2):

  • 35cb3ad: intel_mp: move shm initialization to constructor
  • fb46309: siphash: avoid ctype diversity for hash functions

Andy Wingo (24):

  • be89a9d: intel_mp app relies on lib.parse to supply default values
  • 824af9f: Rename "ndescriptors" intel_mp config arg to "ring_buffer_size"
  • 2b551c1: Old intel10g driver supports ring_buffer_size initarg
  • 16a16fb: Fix intel1g snabbmark for intel_mp link names
  • 125c0f8: Add "rx" and "tx" elements to PCI device info
  • 770b536: Update virtual_ether_mux to take NIC link names from PCI info
  • aabbaed: Update SnabbVMX lwAFTR setup to take link names from PCI driver
  • 2f4ca31: Unconditionally enable VMDq for lwAFTR packetblaster
  • 8037e47: Update packetblaster lwaftr to take NIC link names from PCI driver
  • a9f39db: Unconditionally turn on VMDq for LISPer
  • 9a4c329: Allow LISPer to use any PCI device that has a Snabb driver
  • 3f5d3ef: Make snabbnfv traffic resilient regarding NIC link names
  • 38b1ef6: Update comment in Snabb NFV's "fuzz" command
  • 3260ca9: Update comment in virtio/net_device.lua to point to intel_mp
  • 2ec03c0: Standardize on "app:rxdrop()" instead of "app:ingress_packet_drops()"
  • c1f3a41: Remove "snabb lwaftr transient"
  • 2745c61: Add CSVStatsTimer compatibility hack
  • 86f912e: Unconditionally turn on VMDq for the lwAFTR
  • dae0c48: Fix SnabbVMX setup for driver independence
  • 34a8156: Switch PCI driver to intel_mp
  • 60336e3: Port firehose program over to intel_mp
  • b9d1d5d: Attempt to fix apps/intel_mp/test_1g_sw_sem.snabb
  • 63295d7: Fix adaptation of "snabb snabbnfv traffic" to be driver-agnostic
  • 617e157: Early error on incompatible vlan/macaddr/vmdq settings in virtual ether mux

Asumu Takikawa (87):

  • efbb5e7: First attempt at VMDq for intel_mp
  • 60474bc: Fix up VMDq mode so that it actually runs
  • 19edfb1: First attempt at tests for VMDq mode
  • 70bd72d: Try testing different MAC addrs with VMDq
  • 284ba9f: Fix MAC address registration in VMDq mode
  • 70968dd: Add comment explaining some RSS code
  • 32857a2: Enable RSS queues via PSRTYPE properly for VMDq
  • aca0bf3: Use :bits to set the VMDq RSS mode properly
  • cc02601: Remove RSS bit check for setting RETA
  • 12a55f0: Fix RTTPCS bit set that had a wrong length arg
  • 162eac0: Adjust test to test that both vmdq pools get pkts
  • 97e3634: Move MAC pool enable code and make it cross-NIC
  • 09c3bc6: Adjust the VMDq initialization assertions
  • 6240e9a: Error when the max number of MAC addresses is reached
  • cf044c7: Add code for enabling VLAN filtering/tagging
  • e314237: Refactor vmdq test script
  • 88c0810: Enable VLAN takedown code for VMDq
  • c3b58d0: Refactor intel_mp recv test scripts to reduce duplication
  • 6991cce: Enable VLAN tag stripping in VMDq mode
  • 432e35a: Adjust VLAN test to also test tag insertion
  • ec0c436: VMDq settings for transmit queues
  • c303d30: Add a test for VLAN tag insertion & VMDq tx
  • 45a7494: Set registers needed to make Tx test work
  • e8a1c36: Fix assertion for Rx queue num to allow nil
  • e1766fb: Adjust intel_mp to error with VMDq on non-82599
  • 8e07ff3: Remove unnecessary helper function
  • 67420dd: Fix permissions on two intel_mp tests
  • e6f2b05: Fix 1q vmdq test and testrecv.lua
  • 5dc4dcd: Adjust VLAN test to avoid testing tag insertion
  • 590e2ca: Add waits to avoid race conditions in vmdq tests
  • c0558d6: Add documentation for new vmdq-related parameters
  • f83c609: Refactor vmdq-related assertions
  • f31b29a: Adjust VMDq test for 82599 to be more robust
  • 871494e: Add VMDq consistency check for intel_mp apps
  • 31229a6: Allow mirroring in VMDq mode
  • 59deb35: Avoid use of bits function in hot code
  • 2d288c1: Avoid pairs in more places in intel_mp
  • 656ce13: Fix mistake in commit d1b0a87
  • f2e8e30: Sort keys in debug prinouts for easier reading
  • 5de384a: Fix offsets for QBTC/QPTC registers
  • ddf0a24: Add rxcounter support in intel_mp
  • 37b7c2b: Add txcounter support in intel_mp
  • 142896d: Port Tx rate limit and priority code to intel_mp
  • 1cf3239: Fix silly typo in method call
  • 071290a: Add code from intel10g for discarding unsent pkts
  • 87e0d45: Fix some buggy app teardown code in intel_mp
  • d276077: Fix teardown test for this branch
  • a236d29: Rename limit field to rate_limit
  • ce2e400: Fix another typo in VLAN code
  • f13aa50: Make rx queue numbers relative to the pool number
  • 475cc80: Disable MTU check that intel10g disables
  • 24ced23: Make txq number relative to the pool number too
  • 20bc39c: Adjust the max Rx/Tx queue numbers in VMDq mode
  • 0c23646: Fix VLAN tag setting after a NIC app is restarted
  • eaab2ef: Shuffle code and refactor check_vmdq method
  • 98cecb6: Automatically select available pools in VMDq mode
  • 6ea7eeb: Add a test where VMDq pools are auto selected
  • 15e4865: Revise intel_mp poolnum docs
  • 9007754: Add a fine-grained test for intel_mp auto pools
  • ddf3e26: Fix pool lock cleanup for intel_mp
  • 5596eab: Minor fixes in intel_mp vmdq code
  • e9b8153: Move comment to avoid conflict with newline
  • 19e6434: Rename some test files .sh -> .snabb
  • c00adf8: Minor improvements to pool selection code
  • ee0ce1d: Protect against race conditions in VMDq config
  • 9f3074d: Add test ensuring MAC/VLAN indices are set right
  • b0b0daa: Adjust sleep time and add wait to intel_mp test
  • 76b3c34: Fix fd cleanup in intel_mp
  • 702d01b: Use conf defaults explicitly for consistency
  • 4f27b28: Add option to disable rxq/txq in intel_mp
  • b9a04a0: Explicitly disable rxq/txq for intel_mp test
  • ac2e60c: Update intel_mp README with diagram & methods
  • 790786f: Update intel_mp README with all ported config options
  • aa81c54: Fix documented max pools/queues in intel_mp README
  • f2c673f: Add a reconfig method to intel_mp
  • 5ed8e4f: Clear ETQF/ETQS registers on init
  • c91f004: Fix RXPBSIZE initialization
  • 6823705: Set packet buffer size to max (16KB) via SRRCTL
  • ee98e2f: Only sync stats in push if rxq is disabled
  • ecb74d3: Cache functions imported from link module
  • f858e48: Enable VM TX loopback in VMDq mode
  • 033f657: Revert "Add a reconfig method to intel_mp"
  • 9c7763c: Add comments and delete commented code in intel_mp
  • 67e1776: Adjust ctable selftest to avoid assertion failure
  • 8c36d0b: Allow snabbwall to use any NIC that has a Snabb driver
  • a0591b4: Make lwaftr loadtest work with any PCI device
  • f21e800: Port packetblaster over to intel_mp

Diego Pino Garcia (3):

  • 245e0f0: Set mask.size equals to MAX_NUMNODES if lower
  • a2fd55f: Rewrite get_maxnumnodes function to not depend on a fixed filesize
  • 776601a: Rework readfile function and add comment on how to calculate maxnumnodes

Fabian Bonk (1):

Luke Gorrie (6):

  • c2da4ae: Add jit.tracebarrier() primitive
  • bfc8612: core.engine: jit.tracebarrier() before each app callback
  • e8c0808: core.engine: jit.tracebarrier() after each app callback too
  • 1862084: lj_record.c: Record IFUNC/IFUNCV the same as FUNC/FUNCV
  • 0cc1ad9: .version: bump to 2017.11
  • 50ced99: engine: Remove jit.barrier() calls around apps (too expensive)

Max Rottenkolber (2):

  • e2ef66a: core/memory: log segfault address to stderr for unhandled SIGSEGV
  • 7c98e06: core/memory: also log instruction and stack pointers as well as si_errno

Nicola 'tekNico' Larosa (19):

  • 6b321ac: Make intel_mp tests run even when either 1G or 10G cards are not present
  • a13a385: Disable VMDq check if not in VMDq mode
  • 34d2612: Add default for number of pools
  • a9d7c31: Remove redundant poolnum check
  • 07baa18: Remove another redundant check on poolnum
  • 4138072: Replace intel1g with intel_mp in comments and strings
  • 9615f89: Remove tabs from testrecv.lua
  • 7217501: Remove redundant checks for link in push and pull methods
  • 50fcf69: Fix txdesc bug in intel_mp driver
  • ae707ce: Allow 64 pools instead of 32, and 2 queues per pool instead of 4
  • 0574ad6: Undo wrong change
  • 5a6177f: Fix intel_mp test
  • fd6e310: Remove duplicate require line
  • 31e625e: Add the poll-follower-for-channel fix
  • a58fa28: Typo fix to make CI run again
  • 299a5a8: Add config defaults for txq and rxq
  • d936934: Add default for number of pools (revised)
  • 9c0547d: Make IPFIX use generic pci.device_info to load drivers
  • c8df78d: Allow lwAFTR to use any Snabb-supported PCI device

krawthekrow (1):

  • e45ba27: include ipv4/ipv6 in gre inner protocol list
Compare
Choose a tag to compare

This release merges recent changes to SnabbWall, a layer-7 network flow
detector and firewall application built using Snabb. It also includes various
minor bug fixes and documentation updates.

Changes

Contributors

Andy Wingo (1):

  • 199c0ce: Allow LPM self-tests to complete even if no CPU affinity

Asumu Takikawa (2):

  • 7eaf4aa: Refactor snabbwall test script, remove temp files
  • f5cb8be: Change upstream branch of snabbwall to wingo-next

Ben Agricola (1):

  • 0508572: Fix Unix socket EOF handling

Diego Pino Garcia (7):

  • 0ad67c7: Add Apache License header
  • 7521960: Rename variables
  • 4aa32da: Explain filtering rules
  • e56e9f8: List 'filter' program in wall help
  • cef61c2: Show up filtering examples in 'filter' help
  • 1140397: Require root permission
  • 2198cea: Add Snabbwall copyright notice

Luke Gorrie (1):

  • 6cb8f46: .version: bump to 2017.09

ikdc (1):

  • 0afaa40: Correct name of Intel 82599 app in docs