Repository navigation
dpdk: RX buffering + Unit tests mash-up v2.1 #16752
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
Open
lukashino
wants to merge
31
commits into
OISF:main
Choose a base branch
from
lukashino:feat/9111-6927-dpdk-buffering-unit-tests-v2.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,350
−1,270
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ca80103
schema: document generic DPDK capture statistics
593ac29
qa/live: remove the dpdk configuration test suite
c9ee4b8
qa/live: fail the dpdk test when no packets are captured
980ba51
qa/live: let the dpdk IDS test size its own mempool
1563f7e
dpdk: require DPDK 21.11
6430c5e
dpdk: timestamp packets once per RX burst
ea46e5b
dpdk: fix cleanup after packet processing failure
6a5ee32
dpdk: account for in-flight packets in mempool sizing
ff92ea2
dpdk: fix shutdown barrier race
d4d4802
dpdk: update counters on idle polls
4597f40
dpdk: adjust condition to uint type
cb04628
affinity: fix loop bound when walking the CPU set
8b2dc69
affinity: return bool from UtilAffinityCpusOverlap
187cedb
affinity: rename public APIs
ca2f93e
affinity: expose test reset function
b572fd8
dpdk: transform static variable to function-guarded global variable
6db68d1
util-device: reset the device list after cleanup
b2bc23d
unittests: let a test register a cleanup function
325a8ec
util/cpu: simulate the CPUs of the system in unit tests
d68df9a
affinity: restore the startup defaults in the test reset
38af491
suricata.yaml: comment out affinity examples with fixed CPU numbers
43e4df9
affinity: run unit tests on simulated CPUs
5ad3fe4
affinity: return errors from config loading
cf600d3
affinity: check every CPU number of a CPU set
90dfef7
affinity: accept all CPUs of the system in CPU sets
b194861
affinity: reduce test CPU definitions to 4 cores
e42334e
dpdk: add unit tests for mempool cache and thread assignment
a098b74
github-ci: expand unit test coverage with DPDK tests to Fedora
e600cbd
dpdk: add unit tests for mempool size calculation
2b0d3c8
util/ring-buffer: add a bounded FIFO for fixed-size elements
1566c7e
dpdk: add per-worker RX backlog
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Medium (new) — This DPDK timestamp upgrade note runs to seven lines, and upgrade notes should be about three. Its second half repeats the backlog-timestamp explanation that the linked
dpdk-rx-backlogsection already gives. The backlog is also new and off by default, so it is not something users meet on upgrade. Keep the per-burst timestamp sentence and cut the backlog part down to a:ref:pointer. This was raised on Suricata PR #16749 and is still present.