dpdk: expose xstats in stats segment 40/41140/7
authorOle Troan <otroan@employees.org>
Thu, 13 Jun 2024 09:40:25 +0000 (11:40 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 18 Jun 2024 17:13:16 +0000 (17:13 +0000)
commitdd6fb60f1794fc08ec40598a67dc70f942c200d1
tree60104c5aad87ca9f16136454ac25e5310c7e15a3
parent32dc913e6f3a026fc8e1fec396b12e70dfeb4cf0
dpdk: expose xstats in stats segment

Expose DPDK xstats in the stat segment.
Represented as a 2D array. Thread by sw_if_index.
Each counter has the same name as the corresponding xstats counter,
under /if/<driver-name>/<xstats-name>

Type: improvement
Change-Id: Icd34b46e2b4d708f1c9a7063d6afd4ced3dfa4f5
Signed-off-by: Ole Troan <otroan@employees.org>
src/plugins/dpdk/device/dpdk.h
src/plugins/dpdk/device/dpdk_priv.h
src/plugins/dpdk/device/init.c