[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210326130938.15814-1-simon.horman@netronome.com>
Date: Fri, 26 Mar 2021 14:09:36 +0100
From: Simon Horman <simon.horman@...ronome.com>
To: David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...lanox.com>, netdev@...r.kernel.org,
oss-drivers@...ronome.com, Ido Schimmel <idosch@...sch.org>,
Baowen Zheng <baowen.zheng@...igine.com>,
Simon Horman <simon.horman@...ronome.com>
Subject: [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/20210312140831.23346-1-simon.horman@netronome.com/
[2] [PATCH iproute2-next] police: add support for packet-per-second rate limiting
https://lore.kernel.org/netdev/20210326125018.32091-1-simon.horman@netronome.com/
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(+)
--
2.20.1
Powered by blists - more mailing lists