diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-10-17 11:06:12 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-21 13:07:04 +0200 |
| commit | 15f357cd4581ce6e02e5e97719320600783140ec (patch) | |
| tree | 85482dd59b439cb4409cd952308a80ae2677793a /tools/perf/scripts/python | |
| parent | 6d5b601d52a27aafff555b480e538507901c672c (diff) | |
| download | linux-15f357cd4581ce6e02e5e97719320600783140ec.tar.gz linux-15f357cd4581ce6e02e5e97719320600783140ec.zip | |
net: airoha: Add airoha_ppe_get_num_stats_entries() and airoha_ppe_get_num_total_stats_entries()
Introduce airoha_ppe_get_num_stats_entries and
airoha_ppe_get_num_total_stats_entries routines in order to make the
code more readable controlling if CONFIG_NET_AIROHA_FLOW_STATS is
enabled or disabled.
Modify airoha_ppe_foe_get_flow_stats_index routine signature relying on
airoha_ppe_get_num_total_stats_entries().
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251017-an7583-eth-support-v3-3-f28319666667@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
