Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Snabb v2019.11 “Efraasia” release into Vita #107

Merged
merged 364 commits into from
Dec 13, 2019

Conversation

eugeneia
Copy link
Member

dpino and others added 30 commits December 12, 2018 13:16
ljsyscall: ensure size matches mask for get_mempolicy
As of GCC 8.1 a compiler error (stringop-truncation) will be raised as
strncpy has potentially unsafe behavour, which is the case here.

If strncpy's source (path in our case) is longer than the destination
the destination will not be null terminated. Which is what sockaddr_un
requires of sockaddr_un.sun_path.

By reducing the copy size by one ensures as much as path as can be
copied is and pads the rest of destination (the remaining one
character) with null bytes, ensuring it's properly null terminated.
Fix errors due to bad strncpy behavour.
Move the ctype declaration of txdesc_t out of the init_tx_q() method
to make its ctype identical in all instances of the driver.  This
eliminates certain side traces in the transmit code path.
The pointer type passed to append() and prepend() should always be
canonicalized to "uint8_t *" to avoid side traces in code that uses
these functions.
Add an optional callback which is invoked on an evicted entry to
perform cleanup before the entry is purged from the table.
Make sure that packet.append() is called with a pointer of type
uint8_t *.

The detection of ICMP packets for PMTUD is simplified by only checking
for next_header 58 on the fast path.
Respect the precondition for sort_array().

Use bit.band instead of modulo operator to check for multple of 8 of
the fragment size.
The headers of all fragments are derived from the unfragmentable part
of the original packet, hence the distinction for fragment #0 is not
necessary.
Save next-hop MAC resolution in ARP and NDP apps respectively
This adds the test case of running two lwaftr instances each with two
queues and performance testing them. To enable that test you must
specify up to $PCI4 and four CPU's for the lwAFTR.

Also improves the documentation at the top to help with how to call
the script.
Add additional RSS test for 2 instances with 4 queues to release benchmarking script.
Update CHANGELOG.md with 2019.09.02 release
wingo and others added 27 commits October 25, 2019 13:53
Fix release benchmarks to always specify CPU
This updates the AVF driver to use the new PCI resource acquisition API from
snabbco#1436

Fixes the currently broken :new() routine. The breakage happened when the avf
branch was integrated with next, and I failed to test the merge. ^^'
Free PCI resources and remaining packets on rx/tx queues on shutdown. This
fixes a resource leak.
 - do not assert the revision date unless schema has revisions

 - do not try to load as source any compiled configs (with magic number header)
   that are rejected (instead bail with an error)
This was referenced Dec 11, 2019
@eugeneia eugeneia merged commit 008c417 into inters:master Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants