~/talk

How to Write and Run Tests in the New DPDK Test Framework – Luca Vizzaro & Patrick Robb

Talkat DPDK Summit North America 2024 · on Wednesday, 2024-09-25· at 11:00· Margaret Ballroom· [testing]
links:none on file
links:none on file
slides:none on file

The new DTS is a work‑in‑progress test framework that currently targets physical devices and requires two nodes (or loopback), scapy as the functional traffic generator, Docker/devcontainer or Python 3.10+ with poetry, and SSH keys mounted; the demo builds a Docker runner image, mounts the DPDK repo and runs a hello_world suite. Tests live under tests with filenames prefixed test_ and classes inheriting TestSuite (PascalCase); APIs include send_packet_and_capture, get_expected_packet, verify/verify_packets and packet generators. Upcoming: NIC capability skips, per‑test config, SR‑IOV/VM support and T‑Rex for perf.

AI-written summary · about

  1. 0:00Introduction to DTS
  2. 1:26Requirements for running DTS
  3. 3:32Running Hello World example
  4. 5:39Writing a test suite
  5. 14:25Upcoming changes and future work
  6. 16:55Resources and acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.