diff options
| author | 2025-10-17 11:06:12 +0200 | |
|---|---|---|
| committer | 2025-10-21 13:07:04 +0200 | |
| commit | 15f357cd4581ce6e02e5e97719320600783140ec (patch) | |
| tree | 85482dd59b439cb4409cd952308a80ae2677793a /scripts/Makefile.thinlto | |
| parent | net: airoha: ppe: Dynamically allocate foe_check_time array in airoha_ppe struct (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
