From: Lin Huang <linhu...@ruijie.com.cn> v7->v8: fix cody by reviewing.
v6->v7: split pps and bps policer. v5->v6: fix code by reviewing. v5->v4: police pkts bps and pps at the same time. Get the maximum from the number of dropped packets, and drop that. v4->v3: rewrite egress_policer_details_to_param func. add a new pkts_policer_profile_config func. v2->v3: police and free pkts by bulk. fix the appropriate error code. v1->v2: delete duplicated code. Lin Huang (4): token-bucket: Make token-bucket timestamp updated by caller. netdev-dpdk: Make srtcm_policer to free pkts by bulk. netdev-dpdk: Add support for egress packet-per-second policing. netdev-dpdk: Add support for ingress packet-per-second policing. Documentation/topics/dpdk/qos.rst | 42 ++ NEWS | 3 + include/openvswitch/token-bucket.h | 3 +- lib/netdev-dpdk.c | 262 ++++++++++++- lib/token-bucket.c | 4 +- lib/vlog.c | 14 +- ofproto/pinsched.c | 2 +- tests/system-dpdk.at | 592 +++++++++++++++++++++++++++++ vswitchd/vswitch.xml | 32 ++ 9 files changed, 931 insertions(+), 23 deletions(-) -- 2.39.3 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev