Add support for packet-per-second policing
Bug #1938818 reported by
Bodong Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Bodong Wang | ||
Focal |
Fix Released
|
Medium
|
Bodong Wang |
Bug Description
* Explain the bug(s)
It’s a missing feature in current kernel.
* brief explanation of fixes
Cherry-pick and backport the related patches from upstream kernel.
* How to test
Add tc filter rule with police action, and check it is offloaded.
For example:
tc filter add dev enp8s0f0_0 ingress protocol ip flower \
dst_mac b8:ce:f6:7b:d9:24 \
action police pkts_rate 1000 pkts_burst 100 conform-exceed drop/pipe \
action mirred egress redirect dev enp8s0f0
* What it could break.
New feature, doesn't break existing features.
Changed in linux-bluefield (Ubuntu): | |
assignee: | nobody → Bodong Wang (bodong-wang) |
Changed in linux-bluefield (Ubuntu Focal): | |
assignee: | nobody → Bodong Wang (bodong-wang) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!