Comment 3 for bug 1938818

Revision history for this message
Bodong Wang (bodong-wang) wrote : Re: [Bug 1938818] Re: Add support for packet-per-second policing

Hi Kelsey, it was fixed. Thanks!
________________________________
From: <email address hidden> <email address hidden> on behalf of Kelsey Skunberg <email address hidden>
Sent: Tuesday, September 21, 2021 5:43:53 PM
To: Bodong Wang <email address hidden>
Subject: [Bug 1938818] Re: Add support for packet-per-second policing

Hi Bodong. May you please verify the kernel in -proposed for Focal-
bluefield resolves this bug? Thank you!

--
You received this bug notification because you are subscribed to the bug
report.
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fbugs%2F1938818&amp;data=04%7C01%7Cbodong%40nvidia.com%7Cefc748aabf074af46bb908d97d523b14%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637678614399499685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=KGxUMaNWAmHhXWRVX7BPW0F8D1fROE%2FhfRyUde8GWho%3D&amp;reserved=0

Title:
  Add support for packet-per-second policing

Status in linux-bluefield package in Ubuntu:
  Invalid
Status in linux-bluefield source package in Focal:
  Fix Committed

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.

To manage notifications about this bug go to:
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fubuntu%2F%2Bsource%2Flinux-bluefield%2F%2Bbug%2F1938818%2F%2Bsubscriptions&amp;data=04%7C01%7Cbodong%40nvidia.com%7Cefc748aabf074af46bb908d97d523b14%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637678614399499685%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=dZxZJM%2BEID5cInvvt5kl6ol1fiYRlgx9k3ib0Pmm%2FAc%3D&amp;reserved=0