Public bug reported:

* 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.

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938818

Title:
  Add support for packet-per-second policing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1938818/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to