Public bug reported:

* Explain the bug(s)

When CT HW offload is enabled, the CT stats does not show the stats of the 
offloaded flow.
Ex: using 
cat /proc/net/nf_conntrack, or conntrack -L
shows only the software CT stats, not the offloaded CT stats

* Brief explanation of fixes

Cherry-pick. No adaptation. First commit for SW, second commit of HW offloaded 
rules.
ef803b3cf96a netfilter: flowtable: add counter support in HW offload
9312eabab4a6 netfilter: conntrack: add nf_ct_acct_add()

* How to test

Enable nf_conn_acct, enable HW offload using OVS or tc-flower, and check ct 
stats.
ex:
ovs-vsctl get Open_vSwitch . other_config
{hw-offload="true"}
ovs-appctl dpctl/dump-flows type=offloaded
ovs-appctl dpctl/dump-conntrack

* What it could break.

Nothing.

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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2008136

Title:
  Add HW offloaded CT stats

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  * Explain the bug(s)

  When CT HW offload is enabled, the CT stats does not show the stats of the 
offloaded flow.
  Ex: using 
  cat /proc/net/nf_conntrack, or conntrack -L
  shows only the software CT stats, not the offloaded CT stats

  * Brief explanation of fixes

  Cherry-pick. No adaptation. First commit for SW, second commit of HW 
offloaded rules.
  ef803b3cf96a netfilter: flowtable: add counter support in HW offload
  9312eabab4a6 netfilter: conntrack: add nf_ct_acct_add()

  * How to test

  Enable nf_conn_acct, enable HW offload using OVS or tc-flower, and check ct 
stats.
  ex:
  ovs-vsctl get Open_vSwitch . other_config
  {hw-offload="true"}
  ovs-appctl dpctl/dump-flows type=offloaded
  ovs-appctl dpctl/dump-conntrack

  * What it could break.

  Nothing.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to