Thread (21 messages) 21 messages, 3 authors, 2025-10-16

Re: [PATCH net-next v2 03/13] net: airoha: Add airoha_ppe_get_num_stats_entries() and airoha_ppe_get_num_total_stats_entries()

From: Simon Horman <horms@kernel.org>
Date: 2025-10-16 15:55:15
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek

On Thu, Oct 16, 2025 at 12:28:17PM +0200, Lorenzo Bianconi wrote:
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().

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help