Snabb Versions Save

Snabb: Simple and fast packet networking

v2018.09

5 years ago

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):

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

Andy Wingo (1):

  • de790aa84: Load potentially 64-bit values using mov64

Asumu Takikawa (5):

  • 015dcea09: Fix minor markdown typo
  • 8d6e22ddb: Adjust ipfix README diagram
  • 88079adb0: vhost_user: Add VHOST_USER_F_PROTOCOL_FEATURES
  • 27e8c13d5: vhost_user: fill out two additional messages
  • 4700a963d: vhost_user: asserts for wrong/missing link name

Ben Agricola (1):

  • 270aea4ba: Fix length property testing

Luke Gorrie (3):

  • 73223bdb4: Bump .version to 2018.08
  • 8cfe82826: fixup! Bump .version to 2018.08
  • dc4cb7903: Add engine.stop() to stop all apps.

Max Rottenkolber (4):

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

kullanici0606 (1):

v2018.06

5 years ago

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):

  • 3495fc76c: Add a RSS app
  • 41bd845c9: apps.rss: add selftest
  • 3114c5a2a: apps.rss: cosmetic changes
  • c8318aad4: apps.rss: remove unused variable from selftest
  • 39d2f1284: rss.lua: fix bug in selftest

Andy Wingo (3):

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

Luke Gorrie (3):

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

Max Rottenkolber (70):

  • 5100c5db7: wip: MCRingBuffer for packets.
  • 3ddb3f317: manual batching
  • 86a6ee975: balance packets
  • 293892b85: apps/test
  • 9cdd697ed: worker
  • 322b61ccf: factor
  • 6306ed7d0: core.worker: include si_status in status
  • 4e538cf1d: fix init race
  • 626c8b6e4: reorg
  • ac886badf: global max
  • 06053f695: lib.interlink: fix initialization race.
  • 2e32f8387: core.worker: include si_status in status
  • 47d87924e: lib.interlink: specialized inter-process links
  • 7318cc0a9: apps.interlink: name apps
  • 8dff93bfd: apps.interlink: use robust setup/teardown routine, add sensible memory barriers
  • 4486728f4: apps.interlink.receiver: don’t forward packets until connected
  • db61756ec: extract lib.print_object from lib.store_config
  • a60a42b1a: lib.xsd_regexp: port MaxPC to lib.maxpc, implement regular expression parser
  • 204f21e27: lib.xsd_regexp: implement basic regexp compiler
  • 6f419662f: lib.maxpc: add input_class argument to parse / use classes for input objects
  • 660ae79c4: Revert "lib.maxpc: add input_class argument to parse / use classes [...]"
  • ba37cd82d: lib.maxpc: decode UTF-8 input
  • d3cacc66a: lib.maxpc: fix bug in match._not
  • b6cc1a66d: lib.maxpc: port digit/number parsers
  • 5fd019885: lib.xsd_regexp: implement unicode ranges
  • 7de7fd363: lib.ucd: supporting Unicode database for lib.xsd_regexp
  • f62c95a77: lib.xsd_regexp: implement limited category escapes
  • 5eaf4ac9f: lib.xsd_regexp: remove support for block escapes, copy in GC predicates
  • ba292f0cc: lib.xsd_regexp: remove obsolete match.digit
  • ba818b9c4: Revert "lib.ucd: supporting Unicode database for lib.xsd_regexp"
  • b26d5fcc9: Revert "lib.xsd_regexp: implement unicode ranges"
  • 6fcebb897: Revert "lib.maxpc: decode UTF-8 input", revert lib.xsd_regexp to ASCII-only
  • 1187fc73c: lib.xsd_regexp: implement \i, \I, \c, and \C
  • 074ff0c4f: lib.xsd_regexp: implement backtracking
  • 1be3a55d8: lib.yang.schema: fix parse_range
  • de468cb22: lib.yang.data: implement range and pattern restrictions
  • e54b5f658: lib.yang.data: do not compile pattern validator for empty set of patterns
  • 88cbeb043: lib.yang.data: only run pattern validator on string values
  • d1a740959: lib.yang.schema: fix bug in selftest (range can have multiple intervals)
  • e577721b4: program.lwaftr.tests.propbased.genyang: adapt to new range format
  • 090d6179d: lib.numa: skip selftest if running on a non-NUMA machine
  • 2ece0c1c4: lib.numa: more fine grained approach to 090d6179d
  • 6783dac1b: lib.interlink: use attribute((packet, aligned(64))) to align s
  • cae255473: apps/interlink: turn test.lua into Snabb script selftest.snabb
  • 022ab0c92: apps.interlink: add duration parameter to selftest.snabb
  • d1adbcb15: process group: rebalance packets exchanged across process boundaries
  • 9f0694fb9: core.packet: extract packet.account_free from packet.free
  • 756255ced: DynASM: add CMPXCHG instruction
  • d05da3846: core.sync: add atomic compare-and-swap primitive based on CMPXCHG
  • 9dfa543ea: interlink: adapt interlink and related apps to group freelist
  • 020a9fd65: core.sync: consolidate core.spinlock into core.sync
  • 302f9527d: core.app: pass app name as second argument to :new in start_app
  • 4686cbf93: apps.interlink: use app name to derive SHM interlink path
  • cb9250fde: lib.interlink: fix life-time fsm design and implementation bugs
  • 274ea4b63: core.packet: do not count packets reclaimed from group_fl as freed
  • 59caa02ca: apps.interlink: shutdown handler to release stale attachments
  • b1472e82d: lib.interlink: integrate with shm.open_frame for snabb top
  • 5ac340e26: core.shm: explicitly open shm objects read-only in open_frame
  • 95de7043d: lib.interlink: fix outdated comments
  • 154d63c11: lib.interlink / core.main: fix shutdown bugs
  • 72aadf747: lib.interlink: take advantage of non-excl shm.create semantics
  • 44b4cdf1c: core.packet: use ffi init argument to initialize packet_fl
  • 5ac6e7bae: core.packet: enable group freelist only on demand
  • 02bdf78b8: apps.interlink.*: add user-facing documentation.
  • be6c657ee: lib.maxpc: fix backtracking “zero or more” combinator match.all
  • c583ac743: apps.interlink: fix documentation bugs
  • 5fbe79ec3: apps.interlink: avoid engine/appname kludge by attaching in :link()
  • a0834879b: Revert "core.app: pass app name as second argument to :new in start_app"
  • 00acc776b: apps.rss: include documentation in genbook.sh
  • b699d7e89: apps.interlink: allow specifying queue name per config

R. Matthew Emerson (1):

  • c888a869e: Simple spinlock implementation based on xchg instruction.

hepeng (2):

  • 88da49f57: fix a bug in tcp fields,
  • ae53f4aef: icmp for ipv4

v2018.04

6 years ago

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):

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

Andy Wingo (53):

  • 3e7d2b5e1: Fix "snabb lwaftr run" after lib.scheduling refactor
  • 47588b979: Split YANG getter-at-path out to own module
  • 667b8432f: Move generic data-at-path utilities to lib.yang.path_data
  • feab0129d: Rename program.config.json to lib.ptree.json
  • a83a82786: "snabb config listen" more lenient about missing paths
  • bd689ffdf: "snabb config listen" can take schema / revision from directives
  • 879830747: Add ability for ptree manager to record incoming RPCs
  • 9572bde3d: Wire up --trace for "snabb ptree" and document
  • fe328da94: Wire up a --trace argument for the lwaftr
  • 966228015: Reduce memory use for get-config RPC
  • 008a4b865: Increase response length limit from leader from 100M to 1G chars
  • bd9a8da34: Improve speed of yang qstring parser.
  • 3e2fecb8e: Fix ptree trace selftest
  • 7136c245d: changelog
  • ee03a9870: Fix data_grammar_from_schema for empty cases
  • 631357ce0: Rewrite random YANG path selector and value generator
  • c752d1d5b: Remove unused imports
  • cf6126578: Simplify test
  • 8ce887274: Add "snabb unhexdump" tool
  • 383fd83aa: Process tree runs data-plane processes with busywait=true by default
  • c6d0e2296: Pcap savefile writer records frame sizes
  • 3cf4cdaf4: Sizes for "packetblaster lwaftr" are frame sizes
  • c55199b2f: Fix up packetblaster lwaftr selfchecks
  • fe08efb5d: Address review nit
  • 2876c6e7b: Revert "Pcap savefile writer records frame sizes"
  • 75ee99030: Regenerate packetblaster lwaftr test files
  • 87c426379: Regenerate packetblaster lwaftr test files
  • d9b651242: Fix next-hop discovery with multiple devices
  • b38ae3a86: Remove early lwAFTR NUMA affinity check
  • 05bffbc90: Move "loadtest" command out of lwaftr
  • 09ce69e87: Fix ctable resizing logic
  • 3142fad8c: Fix sense of ctable resize limit
  • db8b2c4dc: Make minimum ctable size uniform
  • f31e840fa: Add limit-finding loadtester.
  • 047018a96: Add find-limit --exec to README
  • da3a2f825: Make supervisor setup more reliable
  • 459ee9983: Make supervisor setup more reliable
  • 0736ffd7d: Fix out-of-bounds write in ctable test suite
  • 55bf2e38a: Promptly close util.ls() dir fd; fix bug with deleted entries
  • 828641fe2: Remove lib.files_in_directory
  • f133f7f90: Promptly close fd in random_bytes_from_dev_urandom
  • 1e6f85237: Fix modification to lib.hardware.pci.scan_devices
  • 65cbc01a3: Set SNABB_RANDOM_SEED for intel_mp tests
  • a5bed8220: Claim name in central lwaftr ptree manager function
  • 703f1a957: "snabb config" tests wait until ptree manager socket is available
  • 69f545b57: Revert lwAFTR-specific version change for merge to upstream
  • a1efb46e8: Harmonize style in changelog
  • d51d0d53a: Changelog for lwAFTR v2018.04.01
  • 99ffe3158: Fix removal of v2018.01.2.1 header
  • bb63b39a4: Fix missing closing backtick
  • 54a540242: Flip sense of conditional-skip of IPsec end-to-end test
  • f03ba1b9e: Test on presence of SNABB_IPSEC_ENABLE_E2E_TEST, not value
  • 3f94ce5bd: Bash programming is known to the State of California to cause confusion

Diego Pino Garcia (23):

  • 459a936b1: Fix property-based test stall
  • ea5228c6d: Fix lwaftr selftest run
  • f57c75ebb: Rework alarms timestamping logic
  • 73caaaf8b: Add DNS-SD program
  • 3c9edf08b: Show error if running on loop-back interface
  • 373b42b55: Enable alarm notification
  • dca505ca6: Fix variable name
  • 191e655cb: Fix error message
  • 77f7abc7b: Fix path to transient README
  • cb68e08ba: Check status code in monitor test
  • 9e2f5da31: Temporarily disable ipsec selftest
  • b4629a759: Snabb lwAFTR v2018.01.2.1
  • 1ad64e40f: Changelog 2018.01.2.1
  • 80109514b: XPath formater fixes
  • c55b21bdb: Fix tests
  • 25c8ad6a5: Implement alarm shelving
  • 7f6791de7: Add failsafe parameter to common.parse_args
  • 76d0a89fe: Refactor argument parsing
  • 419c943b8: Fix error message
  • 5cd8b1b2b: Update README
  • aa31d24e9: Implement table_is_empty
  • d35cdd5e5: Rename 'failsafe' to 'allow_extra_args'
  • 2e8a5f903: Fix undefined variable

Jessica Tallon (6):

  • 468e72c50: Fix small mistake in arp documentation.
  • d9ac3666f: Fix find-limit by checking actual throughput rather than requested.
  • 6e0733243: Extend find-limit to support multiple NICs.
  • aa435ba10: Support the old argument format and fix nits
  • d10a84010: Remove unused fatal function
  • bcda559b7: Fix a few more minor nits :)

Luke Gorrie (2):

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

Marcel Wiget (11):

  • 7d4486596: [wip] use socker server mode
  • 7fce5941c: undo previous wip
  • c81176e68: build snabb docker container
  • 3337ae80a: make clean before build to avoid using binaries built outside of docker
  • dff887754: adding container build and run instructions
  • ba390ecc3: src/snabb wrapper when building container snabb
  • 3a4015c46: document snabb wrapper script
  • b9ae0d7a7: adjust if statement to work in dash too
  • a0959685f: merging launch-docker-container.sh with dock.sh
  • d806fe0cf: use separate docker run commands
  • b7f6ab268: run container privileged and build src

Max Rottenkolber (4):

  • 2468f7c13: intel_app: run selftest even though its not the default driver anymore
  • 35539ece7: Correct/extend doc/snabblab.md
  • 58883b118: snabb top: minor formatting fixes
  • 664f3786a: intel_app: fix skipped message with regard to 2468f7c13

v2018.01.2

6 years ago

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

v2018.01.1

6 years ago

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):

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

Diego Pino Garcia (2):

  • 5121fe841: Fix property-based test stall
  • 3b7812118: Fix lwaftr selftest run

Max Rottenkolber (3):

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

Michael G (4):

  • ddd90d203: Naive i350 fixes
  • 818c8b759: queue_registers, not registers
  • 68f0cd54c: Fixed bits() on RO register
  • 19b56204a: Detect PCI -> port mapping

v2018.01

6 years ago

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):

  • a4acb5f8c: Add a Snabb program to construct a complete L2VPN endpoint
  • cd89bedc9: Fix identification of proper p2p VPN
  • c4cc0253d: Add documentation
  • a9d1ca841: Untabify apps/intel/intel1g.lua
  • 2ebacf224: Fix regression introduced by 11a19ce1
  • b06fbb67c: Amend the list of devices supported by the Intel i210 driver
  • f2f400aeb: Add configurable MTU to intel1g.lua
  • cf6e415df: Add SNMP support to intel1g.lua
  • 8777c5f03: Fix bridge post_config() call
  • 3a3f81edc: Use /tmp to store test data in pseudowire selftest
  • b68519dfa: Fix ifSpeed in intel10g and intel1g
  • 5886ebc47: Use logger:can_log() in l2vpn tunnel modules
  • 57848e7bd: Improve performance of the VLAN multiplexer
  • 53e930b33: Set ifAlias, ifDescr in intel drivers
  • 0f5f76edf: Add oversized packets counter to ifInDiscards for intel10g
  • 244b0a210: Add app for static ND
  • 32b876743: Add VLAN support to the l2vpn program
  • a6032d693: Remove MAC addresses from pseudowire app
  • aac33d477: Allow per-PW control-channel disable override
  • 1a55b0eb6: Add missing image files
  • c38a501f8: Fix bug in l2vpn
  • 93f94f87b: Remove SNMP code from Intel drivers
  • e5f14ce9c: Extract physical MAC address in intel10g
  • 47eaceba0: Make ND apps reconfigurable
  • 771f7a496: Fixes for new packet API
  • d7e9c3988: Fixes/enhancements for iftable_mib.lua
  • 31d691188: Streamline SNMP config in l2vpn
  • 7e9fba18e: De-couple SNMP setup from ND reconfig
  • fed01a827: Add SIOCGIF{FLAGS,MTU,HWADDR} ioctls to ljsyscall
  • f71c64f3c: Augment stats counters for apps.tap.tap
  • d59c8063b: Properly count the number of pseudowires
  • 134b4ce3d: Disable interrupts in intel10g
  • f9208675f: Make waiting for link-up optional in intel{1,10}g
  • 5e7f8dc46: nd_light: add option to reduce verbosity
  • 9365ce3a5: Fix program/l2vpn/pseudowire selftest
  • c821bf2c7: Fix l2vpn pseudowire for new packet semantics
  • 47fa2ceb4: Fix tap after merge
  • e912fa3b4: intel1g: replace lib.timer by lib.throttle
  • b3c1b6bcf: nd_light: add "quiet" option to config template
  • 7e4f8d311: inetl_app: add "wait_for_link" option to config template
  • 4fdd5308c: l2vpn: switch to intel_mp drivers
  • 916f6c882: l2vpn: add extra_config to driver configuration
  • 2833f21ad: l2vpn/README.md: Fix indention
  • e498067d8: l2vpn: document new extra_config driver configuration item
  • c9bbb8592: l2vpn: use intel_mp in README throughout
  • 5f763e144: Remove intel1g driver
  • 22d5ebbf6: Revert intel_app, inetl10g to upstream/master
  • 4400bbf08: intel_mp: move shm initialization to constructor
  • 3b0c82fae: iftable_mib: streamline processing
  • 9bec79f5a: Tap: add support for MTU, operational status
  • 47aee5086: l2vpn: access interface counters via read-only shm frames
  • f094f74af: apps.vlan: use config parser, update README
  • b61c4b0d5: nd_light: add optional option local_mac
  • dd0a91c59: nd_light: fix bug in NS validation
  • a9c0ddf47: program.l2vpn.l2vpn: only use nd_light
  • 23ffbb50c: l2vpn: support dynamic reconfiguration
  • 50ba67dd3: core.app: fix bug in reconfiguration
  • da5346bf4: l2vpn: add port-mirroring option
  • d5960dce1: apps.vlan.vlan: remove assert in VlanMux link()
  • a886ed386: apps.ipv6: document quiet option of nd_light
  • 54b99f893: l2vpn: re-write of app network construction
  • 8c5ea03ec: l2vpn: fix bug in app links generation
  • 96026fda1: Fix bug in p2p optimization
  • 821fd8ddd: Add -jopt option to l2vpn program to set JIT options

Andy Wingo (215):

  • dd73f5a47: Fix structural typing of YANG data
  • 34a0dc4ba: Worker processes have useful process name
  • 950d2b21b: lwaftr: main process should not run at 100% CPU
  • 1163af779: yang: Mark list keys as mandatory after expansion
  • 354a18c00: Better support for identity in YANG schemas
  • 4e9b81863: yang: Attach default prefix to identityref type nodes.
  • 09e726793: Enable YANG data range and length validation
  • 71345f34d: Fix schema test for range representation change
  • 0439614f0: Remove unused code
  • b231028f7: Adapt property-based test generation for range change.
  • 4f6de0193: Leader should poll follower for its channel. (#866)
  • 8291a3a4d: Remove Ethernet-specific code from lwAFTR app
  • c0abcf0c4: Move NDP app to ndp.lua
  • 22af99d8d: Inline helper function only used by NDP app
  • df5883084: NDP assigns random MAC addr if needed, stamps MAC on outgoing packets
  • 7d71c277b: Localize more functions in ndp.lua
  • fbbc1f722: Fix bugs in migrated NDP app, add test
  • d300df6bd: Use more structs in NDP implementation
  • 3d9ad9ac0: Convert advertisement part of NDP app to FFI style
  • ae714b662: Finish refactoring NDP to FFI style
  • 5931f634f: Finish cleanup of NDP app
  • 581589ed7: Fix NDP nits.
  • a6cc10661: Fix errors constructing NDP packets
  • 099522602: Remove backpressure from IPv4 ping responder
  • 3930a04c6: Reindent lib.yang.state
  • 3d26a46e4: More robust lib.yang.state find_counters routine
  • 6fe8424da: YANG schema inherit-config phase gives all nodes config property
  • 9da160e9f: Separate YANG grammars for config and state data
  • 42d4e3408: Fix grammar generation
  • 45ab10c01: Unify lwAFTR and other state query around YANG
  • 49c7c8180: Lwcounter module uses YANG to know available counters
  • 259ffdb62: Attempt to fix snabbvmx check
  • 4f1fc206f: README reformatting to trigger CI
  • 40d4373df: Fix snabbvmx some more
  • 37268cca4: Revert change to snabbvmx lwaftr
  • d66184ac4: Add YANG docs to documentation build.
  • 6c9af142e: Fix YANG doc link.
  • b00485ebe: Snabb lwAFTR version is Snabb version
  • d75381a28: Fix bugs in generate-binding-table.
  • a3557d9cb: Release Snabb lwAFTR 2017.07.01
  • d8fd1c0c9: Fix typo.
  • 745b5b230: More robust name-to-PID mapping in query test
  • 08d30f77e: Work around race condition in query tests
  • 7fd36222a: Beginning of separating out IPv4 reassembly app
  • cd90b3768: Remove unused vlan capability from fragmentation tests
  • 64bfbb5fd: Further work to separate IPv4 reassembly from lwAFTR
  • d01a489a7: Style cleanups in reassembly tests
  • d999ef0af: Tighten packet generation for reassembly tests
  • c294c2c47: Use fragmenting app, not library, when testing reassembly app
  • dbd18ade7: Simplify reassembly test
  • 03e9e6adc: Inline reassembly test into reassemble.lua
  • d719cfa4f: Clean up reassembly header
  • f2bad7aee: Rewrite reassembly tests to be exhaustive
  • 839e9ea6f: Remove global state in reassembler
  • 62203fae4: Beginning of moving reassembly to FFI style
  • 0b6a8d415: Finish moving reassembly to FFI style
  • 896c5ae41: CTable random eviction wrapper uses ctable API
  • 1cbc62661: ctable add method returns pointer to entry, not index
  • 01efd2237: Inline reassembly handling
  • fa75b1987: Inline more reassembly helpers
  • 781dd8afa: Minor reassembly cleanups
  • 5a952949f: Reassembler embeds struct packet
  • 5b04a447e: More small reassembly cleanups
  • c7b8b6907: Tighten up validation of reassembly input packets
  • 232fe4c60: Reassemble app uses SHM frame to open counters
  • 4fe94b721: Rename reassembler config params
  • e90371e48: Add IPv4 reassembler documentation
  • 90b9c5499: ctable:add() should return a pointer, not a reference
  • 597f7446a: IPv4 reassembly: Periodically update counters
  • 366d3b8ca: Fix IPv4 reassembly bugs
  • 707c1e7ad: Adapt counters to new IPv4 reassembly table size
  • 087d3b86a: IPv4 reassembly passes through non-IPv4 packets
  • 673d48ca1: Update README
  • 260fc8546: Update reassembly counter expectations
  • a1781e719: Begin extracting IPv6 reassembler out of lwaftr
  • 033ccb80e: Add IPv6 reassembly tests
  • ca370fd10: IPv6 reassembler: finish converting to FFI style
  • 48485f358: IPv6 reassembler passes through non-IPv6 traffic
  • 15e7ec8de: lwcounter avoids creating counters for IPv6 reassembly
  • b80b7c95b: Update IPv6 reassembly counter memory use expectations
  • 05ad9d691: Begin extracting IPv4 fragmenter from lwAFTR
  • 1483c6daf: Add exhaustive IPv4 fragmentation tests
  • 6a53389bd: Add fragmentation comment
  • 97cd28537: Fix IPv4 reassembly when last fragment is full MTU
  • e6c3bc242: Start to convert IPv4 fragmenter to FFI style
  • f0777759e: Inline fragmentation code into app
  • f7b87d88e: IPv4 fragments and transmits directly
  • d54d4edf0: Only test valid MTUs for IPv6 reassembly
  • a11da9741: Port IPv6 fragmenter to new style.
  • b3a873f04: Fix nondeterminacy in "snabb lwaftr check"
  • 045ff0cb6: Fix previous patch
  • 136fdc658: Move fragmentation-disabled drop counters back to lwAFTR
  • 867328892: Fix unintentional hairpinning in lwaftr config_test.
  • 520d5db3e: Convert lwAFTR to "shm frame" mechanism
  • 107c99917: Fix whitespace issue
  • 44515e777: Extract ICMP echo responders from lwAFTR
  • da223f5e0: Inline some ICMP helpers into their use modules
  • 5de181eda: Minor ICMPv4 echo responder refactors
  • 4b484e648: Port ICMPv4 echo responder over to FFI style
  • 0729fce84: Rewrite ICMPv6 echo responder into FFI style.
  • 7e6482335: Add documentation for ICMP echo responders
  • 5522091b8: Remove "snabb lwaftr run-nohw"
  • 2f2a91226: Remove run-nohw test.
  • bab1b8a72: Remove apps.lwaftr.conf
  • d9988f638: Remove unused apps.lwaftr.dump
  • 0c6862bd9: Remove unused apps.lwaftr.generator
  • 5fa5807cb: Fix "snabb snabbvmx lwaftr"
  • 9223f8000: Fix snabbvmx again
  • a7bd117a2: Comment to force CI to run again
  • b5063945e: Add needed import
  • b68815f8e: Fix needed import.
  • 293e50dc8: Remove a couple of unused imports
  • d95799c7f: Convert lwAFTR to use methods
  • bfa07eea1: Inline lwAFTR helper ICMP library into lwaftr.lua
  • 10dca6176: Inline lwheader.lua into lwaftr.lua
  • 82236b83a: Remove unused lwtypes includes
  • d2022fb42: Remove unused definitions from lwtypes
  • 99e5b0f33: Inline lwtypes into lwaftr.lua
  • 57c1f004b: More consistent naming of FFI types in lwaftr
  • c8d5d4802: More minor lwAFTR style refactorings
  • 3abe15153: Shorten names in write_ipv6_header
  • 471b69a86: Fix error introduced by refactoring
  • 67873f1b4: Repeater apps have push functions instead of pull functions
  • b097e4bd1: Stabilize breathe order
  • 4f12e0919: Allow LPM self-tests to complete even if no CPU affinity
  • e67330317: Restart CI
  • a77330dcb: Add -j option to "snabb lwaftr run" and "bench"
  • c59e2e365: Add documentation
  • fa9f31a27: Ingress drop timer doesn't count drops in the 10 seconds after a flush
  • 97910f376: Snabb lwAFTR v2017.08.01 release
  • c28e1117a: Add cpuset module
  • 6d2050ba7: Allow multiple CPUs via --cpu
  • 154163ce1: Print out the CPU to which we bind data plane processes
  • dc1e6672a: Add lwAFTR changelog for v2017.08.02
  • 9630c3467: Snabb lwAFTR v2017.08.02
  • 080e5eaac: Use false instead of "off" to disable intel_mp txq/rxq
  • b45149e76: ChangeLog for v2017.08.03
  • 8f93a8591: Snabb lwAFTR v2017.08.03
  • 4d73be001: RSS queue ID in examples is 0, not 1
  • fb18030d6: lwaftr run migrates configs in place
  • 326ebd96a: Simplify parsing of single-instance lwaftr configurations
  • 5a279a3a7: Set queue ID as RSS queue ID
  • c5df53cd7: Add dedicated copier for YANG data
  • 70d2dd2b6: Produce one worker config per device and queue
  • b2d006f0a: Worker ids built using RSS id, not containing struct
  • 1286b07ce: Fix error in snabbvmx setup
  • 31b208412: Fix another error in snabbvmx setup
  • d6974ca03: Another friggin snabbvmx error
  • c133476ed: Zero out synthesized lwaftr packets
  • 9d30c3c08: Update benchdata/ packets to match test configurations
  • 940f0db72: Fix bug printing error in config leader
  • edb15dd3c: Fix accessing first queue
  • 1cccf7a21: Fix sparse cltable value serialization
  • 0e73d944c: Fix insertion into sparse cltables
  • 293838e44: Fix serialization of sparse arrays, again
  • e29810f90: Fix yet another sparse cltable serialization problem (!)
  • b5de0d52a: Update configuration.md to discuss RSS.
  • 5e159f044: Fix inconsistencies in documentation.
  • 59dec8224: Reflow text
  • dd5c53b4d: lwAFTR always uses pool 0.
  • 2ea981cee: Change log for Snabb lwAFTR v2017.08.04.
  • 72f2fe35b: Snabb lwAFTR v2017.08.04
  • d3b3c873e: Use different pool numbers for on-a-stick VMDq interfaces
  • 9f769e095: Ignore unexpected ARP replies
  • e15b30500: Workers can communicate next-hop MAC address between themselves
  • c72c6c2dc: Workers can communicate next-hop MAC address between themselves (NDP)
  • f66b08541: lwAFTR configures ARP and NDP with shared_next_mac_key
  • bc41ec36a: Give snabb-softwire-v2 a different namespace from snabb-softwire-v1
  • 59fcb911c: Avoid leaking shared next MAC key in ARP
  • 8216ef660: Avoid leaking shared next MAC key in NDP
  • 1fbb5a974: Update lwAFTR reconfiguration docs for new YANG schema
  • 709470ac2: Add snabb alarms documentation
  • 9ba052ab9: Prepare for Snabb lwAFTR v2017.08.05
  • bc3291782: Add new ietf-softwire-br, ietf-softwire-common schemas
  • 878f1d4fc: Implement "refine" support for YANG schemas.
  • 94676915c: Fix typo
  • d153c4c67: Fix ietf-softwire-br by lifting per-instance state into traffic-stat.
  • 4631a6f77: Fix querying config or state data by path when choices are involved
  • 14dd5447c: Fix "snabb config get-state" for foreign schemas
  • 27703e020: Add support for new ietf-softwire-br
  • 46a30ee5b: Remove support for ietf-softwire; ietf-softwire-br now default
  • d28efc9ee: Fix typo
  • 55ad468fc: Fix nits
  • d0cd81933: Snabb lwAFTR v2017.08.06
  • bd9609e07: Fix bug in cpuset:release()
  • fde343465: Copy app.config to lib.ptree ("process tree")
  • 370498708: Rename lib.ptree.leader to lib.ptree.manager
  • 3619ac22a: Rename lib.ptree.follower to lib.ptree.worker
  • 90b7c2fa7: Add lib.scheduling
  • 67e44e8f9: Rework ptree manager to handle worker scheduling
  • aaeac1bae: Make worker app private
  • 49651f81a: Rework ptree worker to be library, not app
  • 747340809: Refactor ptree manager to be lib, not app
  • d49eb7ded: Ptree manager stop() method shuts down workers too
  • 356d34e38: Ptree worker refactors
  • 94907573b: Add ptree manager log facility; fix manager main function
  • 9511c0b0d: Update ptree worker comment
  • 7c0d1a120: Ptree manager runs timers
  • 3c5f169e0: Ptree manager has "state change listener" facility
  • 6080eca67: Timers can be cancelled
  • 5c3600ab3: Port lwAFTR over to use lib.ptree
  • cb72a6e31: Remove apps.config
  • 27280f427: Add facility to add yang schemas to Snabb's database.
  • 94200753e: Rename lib.ptree.manager to lib.ptree.ptree
  • d6e022977: Add "snabb ptree" program
  • 7ee298361: Update ptree documentation
  • a77867a31: Add programs.inc to gitignore
  • 68d70ba9d: Fix example ptree setup.lua
  • 378701c64: More useful cpuset
  • 4e965946e: Fix NUMA node in cpuset warning
  • 42191acc8: Return ptree manager socket name to old name
  • afe2fbd93: If "snabb config" doesn't have a schema, fetch remotely
  • f034af885: Remove debugging printout
  • ee6537f8f: Enhance ptree readme with multi-process example
  • 024b3ed7a: Finish "snabb ptree" docs

Asumu Takikawa (5):

  • 25090caa4: Adjust how intel_mp VMDq enabled state is checked
  • ff12ba88e: Adjust how VMDq pool selection works
  • 74da3fe3c: Allow either 32/64 pools depending on queuing mode
  • 66d38f3ca: Fix pool selection coordination for manual case
  • fbdb6718c: Canonicalize PCI addresses for intel_mp shm refs

Diego Pino Garcia (129):

  • d41ff02c5: Sanitize YANG lists
  • 33dd33c8e: Snabb lwAFTR v3.1.8 change log
  • 4a2f33256: Support type 'ipv4-prefix'
  • 1b199b71c: Remove undeclared variable 'program_name'
  • 05c1e7b4f: Implement identity lookup and validator
  • b459d514b: Add IETF Yang Alarms module
  • 1000d4692: Parse Yang version as 1 or 1.1
  • 125a2fc1e: Add support for empty type
  • 1056e538d: Addressed review comments
  • 38d943f3c: Enumerations should be treated as strings when compiling to binary
  • 3f6cf3fd9: Add binary compilation of enumerations test
  • ad69902f9: Add enum validator
  • 6effb2f8e: Add enum initializator
  • 6571b3d76: Remove one value attribute from enumerations definition
  • d6b344230: Address review comments
  • 90163b9d3: Fix enums validation
  • c0ef6c926: Assign type.unions in typedefs
  • 15364796a: Print 'wrote compiled configuration' message only if succeed
  • e18c327e4: Upgrade ietf-alarms YANG module
  • b3f926c8d: Add leafref to types table
  • 224134752: Do not modify a map while iterating over it
  • 471e88c7e: Print out schema information in parents
  • e0eedbb4e: Add binary serialization support for identity-ref
  • e3eb9ded1: Add option to print out default values in 'config get' and 'config get-state'
  • 0a09031f6: Update README
  • 9ee004a63: Update config/README documenting --print-default knob
  • 2b7702e44: Improve parsing of snabb config query paths
  • a6c86a8ee: Replace missing function 'table_count' for 'table_size'
  • 7f3be77a9: Implement XPath data printer
  • fbe4a9c52: Support xpath-printer knob
  • 61c72796e: Update docs
  • 5204ea57a: Rename xpath-format to format
  • d124052e1: Print out table in XPath format
  • be73854f2: Fix key composition
  • 0a47c05e7: Handle special cases when root path includes trailing slash
  • 2b0cf7f3b: Support print out of arrays in XPath format
  • cf8a7efd5: Append accumulated path when print a struct keyword
  • a516bf835: Top printers should print absolute path too
  • 9eb95fb54: Support print_default in scalar top_printer
  • a79af52d5: Remove trailing semicolon
  • a81c33178: Allow a string argument to be empty
  • 6cdb03c42: Implement alarm_codec
  • 87bf3371d: Basic alarms channel mechanism
  • 03240caed: Decompress paramaters individually in raise-alarm and clear-alarm encoding/decoding
  • 24d9d4160: Group decompressed arguments into key and args
  • 4e9d594c6: Notify raise and clear alarms in ARP app
  • 45848b238: Create alarms-channel if it doesn't exist
  • 2b4184dae: Emit alarm notification in ARP app only if set
  • 3aa386875: Encode raise-alarm and clear-alarm directly
  • 2912b6c67: Make alarm_notification flag a local
  • ed7f5b4ad: Move function set to core/lib.lua
  • 2bf2021ec: Document lib.set
  • e0024986a: Implement YANG empty datatype
  • 4fde7bcad: Compile empty leaves as a boolean flag
  • 801a49359: Substitute references to leafref datatype for string
  • 42120734a: Comment use of instance-identifier as it's not currently supported
  • 52751f2db: Add alarms capabilities
  • fa69e910b: Extend snabb-softwire-v2 with alarms containers
  • 1723026ff: Load alarm inventory and fetch alarm state
  • 22379b886: Apps add their own alarms to the global alarm repository
  • 27c6befa3: Implement declare alarms
  • 7f940901d: Enable alarms in NDP app
  • e84e158b6: Implement raise alarm logic
  • 821093966: Implement clear alarm logic
  • 64974dac8: Fix nits
  • 974b3bdf8: Add encode:maybe_string
  • 60174c008: Make alarm_list:copy private
  • b07a44acf: Fix unroll of sparse table
  • 8ae762dd5: Fix followers iteration
  • 57e5b28fa: Break tail call in htonl
  • 93b481889: Optimize creation of psid_map
  • 76016155e: Documented need of parenthesis in htonl and htons
  • 0fd423683: Adapt requires_splitter to new configuration format
  • 6764c6242: Implement set-operator-state
  • c6f9b9d08: Implement RPC set-operator-state
  • b116e3014: Rename set_operator_state to set_alarm_operator_state
  • 2710a04a4: Raise error on set_alarm_state
  • 1cc027bc3: Update README
  • 46660faf9: Rework argument parsing
  • 3c49cfecd: Add set-alarm-operator-state to README.md
  • 750221c52: Implement purge-alarms
  • 506c4f052: Add RPC definition of purge-alarms
  • 27874ea09: Fix nits
  • 3c45df90a: Implement compress-alarms
  • 0a5b4d928: Implement RPC compress-alarms
  • f5887c196: Fix format of compress-alarms command
  • 80b7fa913: Missing statements in snabb-softwire-v2 schema
  • 569964330: Implement alarm summary
  • 664338879: Decouple alarms declaration
  • 16299e29d: Remove tabs
  • a7d8bacac: Move apps.lwaftr.alarms to program.lwaftr.alarms
  • 3053ee8db: Remove alarms container from snabb-softwire-v2
  • 0e297f2cb: Add subprogram to fetch alarms state
  • d411ec2a1: Do not append alarms state in lib.yang.state
  • 7035b2b3c: Add alarms module
  • 97f918e54: Assert schema is 'ietf-alarms'
  • 8d9eb5bdc: Move alarms related subprograms from config to alarms module
  • ef46bece1: Rename set_alarms_operator_state subcommand to set_operator_state
  • c05208099: Modify README
  • eb73690c7: Adjust alarms related programs
  • 631f73a06: Customize usage for each alarms command
  • 68002b196: Make alarm_type.resource a single data type
  • 444cc70cf: Rename 'alarm_codec.parse_args' to 'alarm_codec.to_alarm'
  • d296d40a4: Temporarily deactive alarms overwritten by lwaftr
  • 41096e74d: Make add_to_inventory a message passing command
  • ebeca500a: Make declare_alarm a message passing command
  • 162caff15: Replace ARP resource identifier for PID
  • c84e1568d: Add alarms API method to set default alarms
  • fe969b234: Preserve previously defined resources
  • 558bbf924: Replace NDP resource identifier for PID
  • 8458d8c02: Return '' if empty string
  • 672a32c1d: Fix alarm_codec test
  • 42e946c02: Check default alarm exists before accessing it
  • 6ec0eb237: Fix lib.yang.alarms test
  • 8d20ddcc4: Clear alarm only if it previously existed
  • 833abd705: Raise alarms if bad-softwires matches go over threshold
  • 60ef3c99b: Move alarm checks to beginning of push function
  • b6102f018: Implement ingress/egress IPv4 and IPv6 filter alarms
  • 11236632c: Raise alarm if incoming IPv4 fragments reaches limit
  • 921e7bd34: Raise alarm if incoming IPv6 fragments reaches limit
  • 4a896e401: Raise alarm if outgoing IPv4 fragments reaches limit
  • fbe86c19e: Raise alarm if outgoing IPv6 fragments reaches limit
  • c5c8cf960: Alarm helper class for querying expressions
  • 85a7bd48e: Implement ingress bandwith and packet-rate alarms
  • b9fad567a: Implement ingress packet drops alarm
  • 887d04856: lwAFTR specific alarms documentation
  • 226d8af5a: Rename ExprAlarm to CallbackAlarm
  • 57621f3d5: Fix typo in require
  • b0fe9775d: Do not print out counters which are not defined

Jessica Tallon (116):

  • 854d1bc8c: #683 Add version 2 of snabb-softwire yang file
  • 47db93b77: #683 Add config migration for snabb-schema-v2
  • 32fc3d42e: #683 Convert the lwaftr test configs to v2
  • ea1be8a83: #683 Update generate_binding_table.lua for config v2
  • b194d4a45: #683 - Fix typos in generate_binding_table.lua
  • fbd45f318: #683 - Fix snabb-softwire-v2 module name & add revision
  • 942c8e144: #683 - Add mandatory to br-address leaf in snabb-softwire-v2
  • 644564a2e: #683 - Convert codebase to use snabb-softwire-v2
  • 4eff4d40c: #683 - Generalize migration and fix for printing
  • 5755a1dfa: #683 - Convert config commands to snabb-softwire-v2
  • 2cb1ee75e: #683 - Convert documentation and some tests to snabb-softwire-v2
  • e20dd8200: #683 - Migrate snabbvmx configs and some more tests
  • d587d2cd6: #683 - Migrate lwaftr's vlan test configs
  • 1d1e6fb7f: #683 - Correct the version number for config migration
  • 650b0ffaa: Fixes problem with large migration files
  • 9d188e08e: Remove comments and br_address list
  • 6af402568: Add new version to migrate-configuration README
  • 4e8deeaf9: Remove unused local variable
  • 5a9cd5919: Retrigger tests to run
  • 086bf1fe0: Updates the test for br-address on softwire
  • 0bf92baa4: Fix small nit in config test
  • 98ade9e50: Move psidmap onto softwire in snabb-softwire-v2
  • 2e4b581ce: Add migration for psidmap on softwire
  • b759e1f3a: Convert lwaftr's data files to 3.2.0.1
  • 8a9aad400: Convert v2 migration to handle 3.2.0 and 3.2.0.1
  • 163438aec: Update revision statement to include new port-set
  • 24407a2f4: Support new softwire in support and binding table
  • 8f62c2215: Change binding table's psid map to ctable
  • 7d419bf5b: Add ability to add psid entries and update tests
  • f22b67a41: Remove validate_config and validate_update
  • d69ed40da: Fix migration to 3.2.0
  • 020659c91: Update snabbvmx tests to the psid-map on softwires
  • 9e463a308: Fix a test to use snabb-softwire-v2 schema
  • 7cb536a28: Fix a few more tests and remove redundent tests
  • 3f4d9085f: Fix config translation layer for ietf-softwire
  • c2408ffb6: Fix small nits
  • a1a3425c2: Update documentation for new schema
  • 777657234: Fix typo nit in docs
  • c96875f3e: Remove shift and padding parameters
  • 5eb712634: Update test data for removal of shift and padding
  • 6635dd4b8: Update migration for removal of shift and padding
  • 6db0b0875: Update snabbvmx configs to remove shift too
  • c83350776: Fix migration to handle larger files and add padding leaf
  • c7cb1451b: Convert the binding table to use rangemap
  • d49aaf7dc: Fix small documentation and other nits
  • 35e23c429: Add test for lwaftr's generate-binding-table subcommand
  • 985359a52: Fix small nit in generate_binding_table_test.py
  • c48d6af0a: Update generate-binding-table for new schema changes
  • 10c502900: Fix small performance nit
  • 43bfb5d0a: Update migrations fixing the port-set definition.
  • fc8980b3e: Fix lwaftr's migrate-configuration.
  • f27f70a2e: Fix lwaftr's test vlan configs
  • eac7acf8e: Fix some small nits
  • c295c2c01: Add selftest for YANG choice type
  • 7699f7703: Fix #835 - Support YANG choice statement
  • ef66b7d53: Fix small nit in parser definition
  • efd24f7d0: Add choice statement printer for YANG data
  • 8b07e1e36: Add YANG binary data emitter for choice statements
  • 54887709f: Fix potential problem modifying a table during iteration
  • 725a91560: Add test for choice support for YANG binary compilation
  • acb67077d: Include the round which binary choice test fails
  • 0eb00d3cc: Fix bug where choice statements where not being written out correctly
  • 3f9ab2e51: Add multiprocess support to snabb-softwire-v2
  • 37b5b13ab: Change instance list to have a list for RSS queues
  • 3f2d3e383: Addresses feedback on multiprocess changes
  • 6d8106e20: Fix some small problems in YANG schema
  • ec7ec0fd1: Add migration for multiprocess snabb-softwire-v2
  • 48a768702: Migrate lwaftr testing config files
  • 27d7c7ed5: Convert lwaftr bench to multiprocess config for non --reconfigurable
  • 9bbf115b4: Add support for snabb-softwire-v3 for reconfigurable
  • 1dfb7e640: Convert test data from fixed PCI device to JIT based
  • 2d8f87f4c: Update tests and migration
  • 5f7c9509f: Add missed snabbvmx configs
  • ea311f6ea: Fix nit in snabbvmx setup
  • 127dcb80b: Add checks for PCI devices and feed single instance configs to lwaftr
  • 0b73e2503: Fix vlan tagging in new configuration
  • 049126c41: Update documentation for multiprocess snabbs-softwire-v2 schema
  • 237a541d8: Update the version number to new format used by thew lwAFTR
  • 6b527a9e8: Fix a couple of typos and nits from review
  • 0444c7e27: Restore --v4 and --v6 flags to lwaftr run command.
  • 737bf47cd: Fix small bug in retriving instance config
  • 27a6fc556: Fix small nit in documentation
  • ade39daac: Fix some small nits
  • 9db1f5123: Remove redundnet JIT files in selftest.sh
  • 096de0363: Fix incorrect call to produce_instance_configs in snabbvmx
  • c626e2133: Move back produce_instance_configs to lwutil
  • a3868d2a3: Fix testcases as manual migration is not needed.
  • 4e0efcfb2: Fix #876 - Improve config migration by chaining together
  • 5f5c2577d: Add selftests for snabb lwaftr migrate-configuration
  • 6f778a75f: Reduce memory footprint of migration
  • d7abf533a: This fixes the memory issues with util.string_output_file
  • 176906c96: Deprecate reconfigurable flag
  • 95c1e4e44: Fix few nits with depreaction of --reconfigurable
  • 65e447cf7: Start worker processes from leader
  • 9503b7dc7: Cleanup setup.lua to remove produce_instance_configs calls
  • 380df1e8b: Fixes Leader update configuration
  • a1a98c238: Maintain a single in_place_dependencies
  • c7b918c7d: Fix nits in variable names and comments
  • 0bd6d0c15: Improve variable name clarity and make timer repeating
  • 0c4b0f8af: Move sampling to setup
  • 7a64163f0: Support starting and stopping instances via snabb config
  • 155269b98: Update ietf-softwire translation layer for multiproc
  • 44c0e36a2: Improve error handling in multiprocess tests
  • 949be7939: Add empty.conf data for lwaftr
  • edc1e7553: Shutdown the follower properly when removing
  • 0b742d1fd: Stop csv stats outputting for stale instances
  • f9b12ab96: Only check for stale followers if one has been shutdown
  • ede1f8cdc: Fix nit
  • 8aec91209: Add test for migration using --on-a-stick command
  • 71a0f9dbb: Appropriately choose on-a-stick or bump-in-the-wire
  • 34a2f6364: Fix typo nits
  • 278501c61: Fix get-state for multiprocesses in lwaftr
  • c893cbc7f: Add tests for multiprocess get-state
  • 8b8a24413: Change default schema to ietf-softwire
  • 0d70e22c9: Fix indent nit
  • e0c037fe6: Fix tests

Kristian Larsson (1):

  • 74cfd808e: Remove mandatory statement for list keys

Luke Gorrie (1):

  • a8a805a67: .version: bump to v2018.01

Max Rottenkolber (20):

  • 879af8686: core.packet: resize should return the packet like the other functions
  • 0a6716215: lib.ipsec.esp: add support for tunnel mode
  • 1df5f63f1: program/snabbnfv/selftest.sh: move some functions to test_env for reuse
  • add01dceb: Cleanup ipsec esp linux interoperability test.
  • cb28b637c: apps/ipsec/selftest.sh: remove leftovers
  • 1600fcb7b: lib.ipsec.esp.decrypt_payload: properly handle packet underflow
  • b3072ab09: lib.ipsec.aes_128_gcm: use consttime_memequal to compare HMAC
  • beab39c79: lib.ipsec.aes_128_gcm: use fixed length ASM routine instead of consttime_memequal
  • d95d1cb3c: apps/ipsec/selftest.sh: add environment variable for skipping the e2e test
  • ae098953f: lib.ipsec.esp.decrypt_payload: remove redundant bounds/spi checks
  • 2794f6a99: core.link: free any packets left in link when freeing link
  • ac7c5e026: top: fix bug where counters were redundantly reopened
  • 413b661e1: lib.ipsec: update documentation w/r to tunnel mode and new interface
  • f0b2060c6: src/README.md: improve docs of core packet ops that clobber their input value
  • ee6cd0dd3: apps.ipsec: fixup incompatibilities introduces in esp-tunnel branch
  • 0faa5107b: Revert "src/README.md: improve docs of core packet ops that clobber their input value"
  • 73e88bf1c: lib.ipsec.esp: paddle back on "freeing" vs "ownership" in documentation.
  • da5293dc2: lib.lpm.lpm4: skip intensive test by default
  • 2c71c239c: lib.numa: skip selftest if running on a non-NUMA machine
  • fcf0ff169: Revert "lib.numa: skip selftest if running on a non-NUMA machine"

Nicola Larosa (3):

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

Timo Buhrmester (2):

  • 28bb89690: Fix minor things that crossed my path
  • 20a9c3e99: 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

v2017.11

6 years ago

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):

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

Andy Wingo (24):

  • be89a9d40: intel_mp app relies on lib.parse to supply default values
  • 824af9ffe: Rename "ndescriptors" intel_mp config arg to "ring_buffer_size"
  • 2b551c15a: Old intel10g driver supports ring_buffer_size initarg
  • 16a16fb93: Fix intel1g snabbmark for intel_mp link names
  • 125c0f8d8: Add "rx" and "tx" elements to PCI device info
  • 770b536f8: Update virtual_ether_mux to take NIC link names from PCI info
  • aabbaedda: Update SnabbVMX lwAFTR setup to take link names from PCI driver
  • 2f4ca31c7: Unconditionally enable VMDq for lwAFTR packetblaster
  • 8037e4799: Update packetblaster lwaftr to take NIC link names from PCI driver
  • a9f39db83: Unconditionally turn on VMDq for LISPer
  • 9a4c329aa: Allow LISPer to use any PCI device that has a Snabb driver
  • 3f5d3efbb: Make snabbnfv traffic resilient regarding NIC link names
  • 38b1ef6e6: Update comment in Snabb NFV's "fuzz" command
  • 3260ca9ba: Update comment in virtio/net_device.lua to point to intel_mp
  • 2ec03c0c6: Standardize on "app:rxdrop()" instead of "app:ingress_packet_drops()"
  • c1f3a41a8: Remove "snabb lwaftr transient"
  • 2745c618a: Add CSVStatsTimer compatibility hack
  • 86f912e7a: Unconditionally turn on VMDq for the lwAFTR
  • dae0c4821: Fix SnabbVMX setup for driver independence
  • 34a81569b: Switch PCI driver to intel_mp
  • 60336e32f: Port firehose program over to intel_mp
  • b9d1d5d54: Attempt to fix apps/intel_mp/test_1g_sw_sem.snabb
  • 63295d72c: Fix adaptation of "snabb snabbnfv traffic" to be driver-agnostic
  • 617e157bd: Early error on incompatible vlan/macaddr/vmdq settings in virtual ether mux

Asumu Takikawa (87):

  • efbb5e72c: First attempt at VMDq for intel_mp
  • 60474bcab: Fix up VMDq mode so that it actually runs
  • 19edfb1df: First attempt at tests for VMDq mode
  • 70bd72d25: Try testing different MAC addrs with VMDq
  • 284ba9f65: Fix MAC address registration in VMDq mode
  • 70968dd44: Add comment explaining some RSS code
  • 32857a2f3: Enable RSS queues via PSRTYPE properly for VMDq
  • aca0bf334: Use :bits to set the VMDq RSS mode properly
  • cc026018d: Remove RSS bit check for setting RETA
  • 12a55f0c2: Fix RTTPCS bit set that had a wrong length arg
  • 162eac062: Adjust test to test that both vmdq pools get pkts
  • 97e36349e: Move MAC pool enable code and make it cross-NIC
  • 09c3bc635: Adjust the VMDq initialization assertions
  • 6240e9ab2: Error when the max number of MAC addresses is reached
  • cf044c7e0: Add code for enabling VLAN filtering/tagging
  • e31423765: Refactor vmdq test script
  • 88c0810df: Enable VLAN takedown code for VMDq
  • c3b58d0e4: Refactor intel_mp recv test scripts to reduce duplication
  • 6991cce56: Enable VLAN tag stripping in VMDq mode
  • 432e35a99: Adjust VLAN test to also test tag insertion
  • ec0c436f8: VMDq settings for transmit queues
  • c303d301f: Add a test for VLAN tag insertion & VMDq tx
  • 45a74947d: Set registers needed to make Tx test work
  • e8a1c36cd: Fix assertion for Rx queue num to allow nil
  • e1766fb29: Adjust intel_mp to error with VMDq on non-82599
  • 8e07ff327: Remove unnecessary helper function
  • 67420dd03: Fix permissions on two intel_mp tests
  • e6f2b05d7: Fix 1q vmdq test and testrecv.lua
  • 5dc4dcd47: Adjust VLAN test to avoid testing tag insertion
  • 590e2caed: Add waits to avoid race conditions in vmdq tests
  • c0558d6f5: Add documentation for new vmdq-related parameters
  • f83c6090a: Refactor vmdq-related assertions
  • f31b29a52: Adjust VMDq test for 82599 to be more robust
  • 871494e25: Add VMDq consistency check for intel_mp apps
  • 31229a602: Allow mirroring in VMDq mode
  • 59deb3502: Avoid use of bits function in hot code
  • 2d288c144: Avoid pairs in more places in intel_mp
  • 656ce13ab: Fix mistake in commit d1b0a87fb23ce9b49a
  • f2e8e3073: Sort keys in debug prinouts for easier reading
  • 5de384a23: Fix offsets for QBTC/QPTC registers
  • ddf0a241a: Add rxcounter support in intel_mp
  • 37b7c2b25: Add txcounter support in intel_mp
  • 142896df9: Port Tx rate limit and priority code to intel_mp
  • 1cf3239de: Fix silly typo in method call
  • 071290a20: Add code from intel10g for discarding unsent pkts
  • 87e0d45df: Fix some buggy app teardown code in intel_mp
  • d276077f6: Fix teardown test for this branch
  • a236d29fa: Rename limit field to rate_limit
  • ce2e40032: Fix another typo in VLAN code
  • f13aa500e: Make rx queue numbers relative to the pool number
  • 475cc80b5: Disable MTU check that intel10g disables
  • 24ced235a: Make txq number relative to the pool number too
  • 20bc39c36: Adjust the max Rx/Tx queue numbers in VMDq mode
  • 0c2364667: Fix VLAN tag setting after a NIC app is restarted
  • eaab2efb4: Shuffle code and refactor check_vmdq method
  • 98cecb639: Automatically select available pools in VMDq mode
  • 6ea7eeb90: Add a test where VMDq pools are auto selected
  • 15e486548: Revise intel_mp poolnum docs
  • 900775464: Add a fine-grained test for intel_mp auto pools
  • ddf3e2629: Fix pool lock cleanup for intel_mp
  • 5596eabdd: Minor fixes in intel_mp vmdq code
  • e9b815375: Move comment to avoid conflict with newline
  • 19e6434df: Rename some test files .sh -> .snabb
  • c00adf8c6: Minor improvements to pool selection code
  • ee0ce1d87: Protect against race conditions in VMDq config
  • 9f3074d59: Add test ensuring MAC/VLAN indices are set right
  • b0b0daa56: Adjust sleep time and add wait to intel_mp test
  • 76b3c3486: Fix fd cleanup in intel_mp
  • 702d01bc5: Use conf defaults explicitly for consistency
  • 4f27b28ec: Add option to disable rxq/txq in intel_mp
  • b9a04a079: Explicitly disable rxq/txq for intel_mp test
  • ac2e60ced: Update intel_mp README with diagram & methods
  • 790786f1c: Update intel_mp README with all ported config options
  • aa81c5465: Fix documented max pools/queues in intel_mp README
  • f2c673f49: Add a reconfig method to intel_mp
  • 5ed8e4fbf: Clear ETQF/ETQS registers on init
  • c91f00442: Fix RXPBSIZE initialization
  • 682370589: Set packet buffer size to max (16KB) via SRRCTL
  • ee98e2f67: Only sync stats in push if rxq is disabled
  • ecb74d385: Cache functions imported from link module
  • f858e4857: Enable VM TX loopback in VMDq mode
  • 033f657dc: Revert "Add a reconfig method to intel_mp"
  • 9c7763cfa: Add comments and delete commented code in intel_mp
  • 67e1776a4: Adjust ctable selftest to avoid assertion failure
  • 8c36d0b6a: Allow snabbwall to use any NIC that has a Snabb driver
  • a0591b442: Make lwaftr loadtest work with any PCI device
  • f21e80085: Port packetblaster over to intel_mp

Diego Pino Garcia (3):

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

Fabian Bonk (1):

  • c76a9914e: Fix file mode

Luke Gorrie (6):

  • c2da4ae40: Add jit.tracebarrier() primitive
  • bfc8612d4: core.engine: jit.tracebarrier() before each app callback
  • e8c0808f3: core.engine: jit.tracebarrier() after each app callback too
  • 18620843d: lj_record.c: Record IFUNC/IFUNCV the same as FUNC/FUNCV
  • 0cc1ad9f2: .version: bump to 2017.11
  • 50ced9966: engine: Remove jit.barrier() calls around apps (too expensive)

Max Rottenkolber (2):

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

Nicola 'tekNico' Larosa (19):

  • 6b321ac64: Make intel_mp tests run even when either 1G or 10G cards are not present
  • a13a3859d: Disable VMDq check if not in VMDq mode
  • 34d261225: Add default for number of pools
  • a9d7c3115: Remove redundant poolnum check
  • 07baa180e: Remove another redundant check on poolnum
  • 41380721f: Replace intel1g with intel_mp in comments and strings
  • 9615f89ea: Remove tabs from testrecv.lua
  • 721750174: Remove redundant checks for link in push and pull methods
  • 50fcf690f: Fix txdesc bug in intel_mp driver
  • ae707ce8f: Allow 64 pools instead of 32, and 2 queues per pool instead of 4
  • 0574ad6b3: Undo wrong change
  • 5a6177f61: Fix intel_mp test
  • fd6e310a8: Remove duplicate require line
  • 31e625e06: Add the poll-follower-for-channel fix
  • a58fa28d2: Typo fix to make CI run again
  • 299a5a869: Add config defaults for txq and rxq
  • d93693419: Add default for number of pools (revised)
  • 9c0547d6c: Make IPFIX use generic pci.device_info to load drivers
  • c8df78deb: Allow lwAFTR to use any Snabb-supported PCI device

krawthekrow (1):

  • e45ba2791: include ipv4/ipv6 in gre inner protocol list

v2017.09

6 years ago

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

  • #1219 Updates to SnabbWall
  • #1232 #1221 #1218 Minor bug fixes

Contributors

Andy Wingo (1):

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

Asumu Takikawa (2):

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

Ben Agricola (1):

  • 0508572f9: Fix Unix socket EOF handling

Diego Pino Garcia (7):

  • 0ad67c737: Add Apache License header
  • 752196098: Rename variables
  • 4aa32da3e: Explain filtering rules
  • e56e9f829: List 'filter' program in wall help
  • cef61c293: Show up filtering examples in 'filter' help
  • 114039714: Require root permission
  • 2198cea8d: Add Snabbwall copyright notice

Luke Gorrie (1):

  • 6cb8f4619: .version: bump to 2017.09

ikdc (1):

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

v2017.08

6 years ago

This release adds a library of LPM routines for IPv4 addresses. Endive also includes many various improvements and fixes, including direct access to CPU PMU hardware, MTU support for apps.tap, improved performance for apps.vlan, and extended configuration options for apps.ipv6.nd_light.

Changes

  • #1136 lib.lpm: Longest Prefix Match library for IPv4 addresses
  • #1170 lib.pmu: Enable RDPMC via /sys/devices/cpu/rdpmc
  • #1178 lib.protocol.header: Return nil instead of asserting when a header is too big to overlay
  • #1189 apps.tap: support MTU, augment stats
  • #1191 apps.vlan: improve performance, configurable encapsulation
  • #1193 apps.ipv6.nd_light: added two new configuration options (remote_mac, quit)
  • #1208 Fixes a bug in the IPFIX app's netflow v9 mode
  • #1174 #1176 #1179 #1142 Minor bug fixes and improvements

Contributors

Alexander Gall (8):

  • 20d59582: Tap: support MTU, augment stats
  • d26fd86f: Fixes/enhancements for iftable_mib.lua
  • ee189643: iftable_mib: streamline processing
  • c6befb8a: nd_light: make app reconfigurable
  • acc3260a: nd_light: add option to reduce verbosity
  • a12ac85f: nd_light: add optional option local_mac
  • ccbe8101: nd_light: fix bug in NS validation
  • da4f98b0: apps.vlan: improve performance, configurable encapsulation

Andy Wingo (46):

  • f601fcf6: intel_mp: Poll more frequently for linkup
  • bf9baa24: Re-introduce 82599 reset into linkup wait loop.
  • d60b1667: Use default hash in IPFIX cache
  • 9c014531: Minor comment fix in ipfix exporter
  • ce65fd97: Split IPv4 and IPv6 collector data paths
  • e6b1d36a: Small IPFIX elements parsing cleanup
  • 47a6188e: IPFIX: Refactor template computation
  • 87945ec7: Add anonymous counters and links
  • 10d7c6fb: IPFIX exporter logic now independent of record types
  • 331840ca: Rename flow key/value to match standard IEs
  • a7d3db16: Join IPFIX apps together
  • fb959e7d: Use generated types in ipfix cache
  • 4aa22c50: Better mocking for ipfix test
  • 318bac76: Join IPFIX meter and exporter apps
  • 4608a95b: Implicitly create cache, and expire records directly
  • 4b9874d5: IPFIX app has single input again
  • 1daf62d9: Separate IPFIX templates into separate file
  • a17a0e91: Fix IPFIX leak
  • 2a9efb6a: Revert anonymous links
  • 03d40754: Pare down info collected by default IPFIX flow sets
  • 26da1174: Try different expiry mechanism
  • ba10cc3f: Remove unused variable
  • 0115e5d0: Configurable template refresh interval
  • 28873226: Remove IPFIX utils module
  • 72bddd84: Clean up IPFIX file header
  • 56914f9f: Clean up FlowSet initialization.
  • c5a9f3ef: Add comments; use float seconds more generally.
  • 734501ae: More IPFIX cleanup
  • 6ac2bf28: Make set of templates configurable
  • 16830a30: Add README.md
  • 1d2d633e: Initial import of lwAFTR IPv4 apps to apps/ipv4
  • ed64366d: Inline needed bits of ipv4_apps into arp.lua
  • 93e1f2d6: Add ARP test
  • d426e2fe: Break ARP app off from lwaftr
  • e8e2f308: Switch lwAFTR over to new ARP app
  • 5d57a657: ARP can assign itself a local MAC address; stamps outgoing traffic
  • e2f5f312: Add ARP README.md
  • 3c570800: Add ARP documentation to the doc build
  • 41c49f21: Fix nits
  • 8880f5e4: Remove unwanted tabs
  • adbd63c3: Integrate ARP into IPFIX
  • b949911f: Remove Ethernet details from IPFIX app
  • 9155b53b: Simplify "probe" interface to rely on ARP
  • e31bace7: Add missing imports
  • 6e5a979f: Add documentation for ipfix probe
  • e7bf90eb: Fix nits

Asumu Takikawa (70):

  • b5bfceca: Initial draft of netflow app
  • b6759d35: Add a selftest, support transport ports properly
  • b07d1f0e: Start to implement V9/IPFIX communication code
  • a3042848: Can now export flow records at a very basic level
  • b35fb6b9: Fix uptime calculation for v9 packets
  • e30dc7db: Fix IP checksum computation for exports
  • f2f3421b: Make the exporter slightly more configurable
  • d2eed9ad: Rename apps/program to avoid netflow confusion
  • 4d9965ef: Account for MTU in constructing record packets
  • 2953d562: Make sure to free ignored packets
  • 415b3538: Make selftest pass again
  • 59524277: Rewrite timer-based code in flow_export
  • 6e4e411b: Print a message when selftest succeeds
  • 787fc488: Add a sanity check for flow exporter's ctable
  • 41e023a4: Improve selftest with random packet processing
  • d2c82eb4: Improve selftest by checking number of flows
  • 33f293eb: Fix variables that should have been renamed
  • 4da54b21: Fix flow timestamp code to use the right clock
  • 332c9ee7: Enable idle flow timeout now that it works
  • 1b77271a: Reformat FFI cdefs for flow key/record
  • 1008f5bd: Restructure flow data structures for efficiency
  • ca47cb68: Add an IPv6 test and fix address fields in key
  • 11543f20: Modify IPFIX code to use IANA assignment CSV
  • b6171d66: Fix uptime computation that got out of sync
  • 3374a65e: Add debug printing for flow expiration
  • 43202954: Fix silly boolean/number confusion in ipfix.lua
  • abe9d9ee: Fix typo in ipfix.lua
  • a1f866a7: Improve debug printouts, set it via environment
  • acdb1063: Swap idle and active timeouts
  • 8f890aef: Improve debug messages with datestamp, abstract it
  • 735493b1: Fix active timeout calculation
  • 80026f45: Fix padding bytes and do a minor refactoring
  • 833d1415: Progress towards a robust snabb flow_export run
  • 64810934: Make flow timeouts configurable via program flags
  • 8091ffe6: Refactor IPFIX code to use a class & methods
  • 3175097c: Adjust flow export code to allow IPFIX v10 messages
  • b0acf2c7: Refactor write_header arguments in ipfix
  • 6a9d1b22: Adjust default MTU to 512 octets per RFC7011
  • 21f7e93f: Adjust default template refresh per RFC5153
  • 43d2b600: Packets should always be freed at the end
  • d3d00621: Adjust selftest for recent config changes
  • 37f879d7: Use a consistent UDP src port per "session"
  • 0d11dae7: Fix record data order and do minor refactoring
  • 05820247: Do a major refactoring of the flow exporter into two apps
  • 3805894d: Rename flow export app/program to ipfix
  • 44670416: Add a selftest for apps.ipfix.export
  • ef4e93f4: Move record expiry function back into the meter
  • 38b96ad2: Expire records incrementally instead of on a timer
  • e2243ce6: Rewrite meter code to avoid using header libraries
  • 62a550d3: Improve 'snabb ipfix probe' for benchmarking
  • a0ccddb9: Avoid allocation of flow keys for old flows
  • af63e7e8: Fix bugs in the last commit, zero out the key
  • 3ac87e2e: Pre-allocate both keys and record variables
  • 59d50177: Reduce number of timestamp computations
  • bd89b4d8: Save some space in the flow key representation
  • 8271e429: Use a different hash function for performance
  • 53e04f6a: Use dynasm to speed up the hash function
  • c760913e: Use slightly nicer assembly for hash
  • 9b89c948: Avoid indirection through wrapper methods in cache
  • 79126df5: Fix debug prints that broke from some optimization
  • 60e1a0c2: Add a basic benchmark script for the IPFIX app
  • d8b4cb1b: Fix pcap output for ipfix probe
  • fc5f8ebc: Fix typo in ipfix probe
  • 2f5c77f2: Fix app configuration in ipfix probe
  • 52339879: Add tap IO option for ipfix probe
  • 7ce48da4: Don't read southbound packets until ARP resolved
  • b824190b: Add timeout options to ipfix probe docs
  • 78bdcae3: Add an ipfix test script that uses a collector
  • 4c9c4b82: Improve ipfix collector test
  • 17ac2094: Fix typo in IPFIX v9 mode

Diego Pino Garcia (1):

  • d7181301: Remove src/core/version.lua from .gitignore

Luke Gorrie (5):

  • d01f4167: lib.pmu: Enable RDPMC via /sys/devices/cpu/rdpmc
  • 5fc8a770: .version: Bump to 2017.08
  • fabac149: virtual_ether_mux: Treat vlan=0 as vlan=nil
  • 290c1398: Revert "virtual_ether_mux: Treat vlan=0 as vlan=nil"
  • ebd0aa91: apps.vlan: Allow vlan=0

Nicola 'tekNico' Larosa (4):

  • 1f1da1b4: Avoid the most repetitive output in tests
  • e2aba33d: Reintroduce deterministic seed report, but only when it is a new one
  • 104502f1: Remove broken attempt to filter output
  • 3b866798: Relax the check on max_displacement in selftest

Pete Bristow (1):

  • 52b63083: initial import of lib.lpm* longest prefix matching lookup routines for IPv4 addresses

ikdc (6):

  • 13aa49ae: Return nil instead of asserting when a header is too big to overlay.
  • 06a42e69: free new header if size is too small
  • 3b359126: document that new_from_mem can return nil
  • 2e0d9529: check that new_from_mem returns non-nil in header subclasses
  • 20a1f190: assert TLV options
  • 22fa8c89: assert miscellaneous uses of new_from_mem

v2017.07

6 years ago

This release adds an optimized implementation of SipHash (a fast cryptographic hash function) to Snabb. Dandelion also comes with many goodies such as a command line option to identify the exact version of Snabb executables, as well as improves stack traces for snsh, the interactive Snabb shell. As usual, this release also includes many minor bug fixes, and performance as well as usability improvements.

Changes

  • #1146 Added snabb --version command-line argument
  • #1151 core.shm now creates shared memory objects world-readable
  • #1153 Avoid select() in apps.socket.unix to improve performance
  • #1155 #1166 #1168 lib.ctable now uses SipHash
  • #1159 Improved stack traces for errors in snsh scripts
  • #1171 Fixed a bug in lib.randomseed where it failed to produce a random value when called without a seed
  • #1124 #1161 #1163 #1164 Minor bug fixes and improvements

Contributors

Andy Wingo (39):

  • 701bbc1: Add core.version module and --version command-line argument
  • fdf662d: Take default version from ".version" file
  • 6cf8633: Fix core.version generation for clean builds
  • 34a94bd: Avoid rebuilding snabb when nothing changes
  • cbb5331: Allow "snabbmark hash" to test different key sizes
  • 97d40c9: Add siphash implementation
  • 429a3b0: Allow customization of number of siphash rounds
  • e50ad4c: Allow specialization of SipHash to fixed-size inputs
  • 2f7983d: Add SipHash1,2 to snabbmark
  • f1b7053: Refactor siphash implementation
  • 1e3ea13: Add SSE and AVX2 parallelism to SipHash
  • da86b3d: Fixups to make AVX2 work also
  • e914c77: fix up generic assembler output, except for avx2
  • fda842d: Use vzeroupper before leaving AVX2
  • 0caaa4b: Add generic X86-64 backend to SipHash assembler
  • 24fca9f: Remove hand-coded SipHash and simplify snabbmark
  • d722f3c: Fix AVX2 result extraction.
  • 18dbf26: siphash: Fall back to SSE if AVX2 unavailable
  • 296073c: siphash: Take a table of options instead of many positional args
  • bf60d21: siphash: Add a function that can hash an immediate
  • 56c0b94: Switch ctable over to SipHash1,2
  • 76cbc59: Integrate multi-hash with ctable lookup streamer
  • d1ab616: Bump binary version for ctable hash change
  • 44bf39b: Fix lwAFTR test to isolate changes between sub-tests
  • 9fdcb99: Fix compilation error with GCC 7.1.0
  • 2fc932b: siphash: Fix load permutation for avx2 u32/u16/u8 loads
  • e9fd2f3: Reassembly tables use default hash function
  • 566d17e: ctable: Automatically detect need for scalar hash
  • 9fa3c24: ctable: Use random key for hash function
  • c6a51cf: Add missing file
  • 45a9b23: Update tarball version number to v2017.07
  • 3cd665c: ctable: reseed hash function on resize
  • 1316a73: ctable: Update documentation.
  • 969b263: Add lib.random_bytes
  • da58b3d: Fix failure message for lwaftr quickcheck
  • a564721: Add new lib.randomseed API
  • f05efe1: Static hash seeds when SNABB_RANDOM_SEED set
  • 23dde76: Add lib.execv; propagate env vars to children
  • 413a108: Fix case in which lib.randomseed didn't do its job

Diego Pino Garcia (3):

  • 83e7efe: Replace AVX2 instruction for AVX equivalent code
  • 1303bdc: Emit AVX2 or AVX instructions depending on architecture
  • 1b29830: Revert "Emit AVX2 or AVX instructions depending on architecture"

Luke Gorrie (5):

  • 08a3a60: src/Makefile: Add dependency on libluajit.a
  • 9708bfc: core.shm: Make shm objects world-readable
  • 9bc78f0: apps.socket.unix: Rewrote pull/push to avoid select()
  • c6d3a07: README.md: Mention SNABB_SHM_ROOT and SNABB_SHM_KEEP
  • 961fc43: core.shm: /var/run/snabb is owner writable, world readable

Max Rottenkolber (1):

  • 1243b24: snabbmark esp: prevent GC from being invoked by making local vars local

ikdc (2):

  • c6accde: Defer error-handling to main program runner.
  • 38df78d: Use StackTracePlus for tracebacks.