RFC testpmd: simulating noisy host environment
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | testpmd: add parameters buffersize-before-send and flush-timeoutapp/ app/ app/ +4 more | +162 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/1] testpmd: simulating noisy host environment
This is an addition to testpmd that will allow to simulate a noisy neighbour VNF. It was previously discussed here:
http://dpdk.org/ml/archives/dev/2017-October/080763.html
It was not thoroughly tested and doesn't implement all features yet. I'm sending this only for early feedback about how to approach this.
Currently I've implmented the logic to buffer incoming packets and flush the queue after a timeout has expired. The logic resides in the iofwd code as an example. I think it needs to be in the forwarding mode logic as packets are send and received from there. To avoid code duplication some of it could be extracted into new helpers and changes to the individual forward mode code kept minimal.
What is missing is actual functionality to simulate route lookups (by doing random r/w memory accesses) and to simulate packet processing. I'm working on this, but would like to get feedback on what I have so far.
regards, Jens
Jens Freimann (1):
testpmd: add parameters buffersize-before-send and flush-timeout
app/test-pmd/Makefile | 4 ++++ app/test-pmd/fifo.c | 16 +++++++++++++ app/test-pmd/iofwd.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++- app/test-pmd/parameters.c | 21 ++++++++++++++++- app/test-pmd/testpmd.c | 48 ++++++++++++++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 15 ++++++++++++ config/common_base | 1 + 7 files changed, 162 insertions(+), 2 deletions(-) create mode 100644 app/test-pmd/fifo.c
Signature · 1 line
2.14.3