net/bnxt: fix accumulation of flow counters
authorSomnath Kotur <somnath.kotur@broadcom.com>
Fri, 17 Jul 2020 14:14:41 +0000 (19:44 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commitecc590dfb150006cee2e44107fc1be4a9c66677c
tree5f844f388aa57ef3b649bd128185374b073022bd
parent0f740127c07eb7a9a71e2f35e202e29fec0c58e1
net/bnxt: fix accumulation of flow counters

OVS-DPDK is accumulating the flow counters that are returned as part of
the flow_query API and it is being issued at least 3 times every second.
So there is no need to accumulate the counts internally in the driver.

Fixes: 306c2d28e247 ("net/bnxt: support count action in flow query")

Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_ulp/ulp_fc_mgr.c