Skip to content

selftest: add tests for packet per second

Simon Horman netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests: tc-testing: add action police selftest for packets per secondtools/testing/selftests/tc-testing/tc-tests/actions/police.json+48 -01 replyApplied
2/2selftests: forwarding: Add tc-police tests for packets per secondtools/testing/selftests/net/forwarding/lib.sh tools/testing/selftests/net/forwarding/tc_police.sh+65 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJamal Hadi SalimIdo Schimmel
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] selftest: add tests for packet per second

Add self tests for the recently added packet per second rate limiting feature of the TC policer action[1].

The forwarding selftest (patch 2/2) depends on iproute2 support for packet per second rate limiting, which has been posted separately[2]

[1] [PATCH v3 net-next 0/3] net/sched: act_police: add support for packet-per-second policing

    https://lore.kernel.org/netdev/[email protected]/

[2] [PATCH iproute2-next] police: add support for packet-per-second rate limiting

    https://lore.kernel.org/netdev/[email protected]/

Baowen Zheng (2):
selftests: tc-testing: add action police selftest for packets per
second
selftests: forwarding: Add tc-police tests for packets per second

 tools/testing/selftests/net/forwarding/lib.sh |  9 +++
 .../selftests/net/forwarding/tc_police.sh     | 56 +++++++++++++++++++
 .../tc-testing/tc-tests/actions/police.json   | 48 ++++++++++++++++
 3 files changed, 113 insertions(+)
Signature · 1 line
2.20.1