numam-dpdk/drivers
Huisong Li a65342d9d5 net/hns3: fix MAC and queues HW statistics overflow
The MAC and queues statistics are 32-bit registers in hardware. If
hardware statistics are not obtained for a long time, these statistics
will be overflow.
So PF and VF driver have to periodically obtain and save these
statistics. Since the periodical task and the stats API are in different
threads, we introduce a statistics lock to protect the statistics.

Fixes: 8839c5e202 ("net/hns3: support device stats")
Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2022-05-12 10:28:54 +02:00
..
baseband baseband/acc100: avoid out-of-bounds access 2022-02-23 11:59:51 +01:00
bus net/dpaa2: update management complex to 10.32 2022-05-10 15:43:08 +02:00
common common/iavf: support Rx timestamp in virtual channel 2022-05-09 03:51:51 +02:00
compress compress/octeontx: support OCTEON TX2 SoC family 2022-04-29 11:36:46 +02:00
crypto crypto/dpaa_sec: move cdb preparation to session create 2022-04-29 11:27:35 +02:00
dma dma/idxd: configure maximum batch size to high value 2022-02-23 16:45:16 +01:00
event event/dlb2: add shift value check in sparse dequeue 2022-03-03 10:25:17 +01:00
gpu gpu/cuda: add more NVIDIA devices 2022-04-14 10:01:11 +02:00
mempool mempool/cnxk: fix batch allocation failure path 2022-02-23 17:33:53 +01:00
net net/hns3: fix MAC and queues HW statistics overflow 2022-05-12 10:28:54 +02:00
raw raw/ifpga: fix build with optimization 2022-03-16 20:35:04 +01:00
regex remove extra blank line at EOF 2022-02-27 21:26:06 +01:00
vdpa vdpa/mlx5: make statistics counter persistent 2022-05-09 21:39:58 +02:00
meson.build build: make ring mempool driver mandatory 2022-02-22 15:38:19 +01:00