numam-dpdk/drivers
Somnath Kotur 48d1c589dd net/bnxt: fix flow counter query
OVS-DPDK seems to set the reset bit for every flow query. Honor
the bit by resetting the SW counter values after assigning them.
Also set the 'hit' bit only if the counter value retrieved by HW
is non-zero.
While querying flow stats, use max possible entries in the fc table scan
for valid entries instead of active entries as the active entry can be in
any slot in the table.

This is a critical fix for OVS-DPDK flow aging.

Fixes: 306c2d28e2 ("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>
2020-08-05 21:25:47 +02:00
..
baseband log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bus bus/vmbus: use SMP memory barrier for signaling read 2020-07-29 16:17:54 +02:00
common common/mlx5: fix regex register layout 2020-07-30 00:41:24 +02:00
compress common/qat: remove unused fields 2020-07-28 22:09:22 +02:00
crypto crypto/armv8: remove redundant assert definition 2020-07-28 22:09:22 +02:00
event event/dpaa2: add all-types queue capability flag 2020-07-24 07:22:41 +02:00
mempool mempool/ring: support RTS and HTS ring modes 2020-07-21 19:20:00 +02:00
net net/bnxt: fix flow counter query 2020-08-05 21:25:47 +02:00
raw raw/ifpga/base: fix NIOS SPI init 2020-07-22 00:42:11 +02:00
regex regex/mlx5: fix registered driver name 2020-08-05 18:36:44 +02:00
vdpa vdpa/mlx5: fix virtio queue unset 2020-08-05 18:33:35 +02:00
Makefile common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00