[PATCH v12 10/13] net/sxe: add xstats function
Stephen Hemminger
stephen at networkplumber.org
Fri Oct 24 19:05:47 CEST 2025
On Mon, 28 Jul 2025 17:05:14 +0800
liujie5 at linkdatatechnology.com wrote:
> +#define SXE_XSTAT_SW_CNT (sizeof(sxe_xstats_sw_field) / \
> + sizeof(sxe_xstats_sw_field[0]))
> +
> +#define SXE_XSTAT_MAC_CNT (sizeof(sxe_xstats_mac_field) / \
> + sizeof(sxe_xstats_mac_field[0]))
> +
> +#define SXE_XSTAT_FC_CNT (sizeof(sxe_xstats_fc_field) / \
> + sizeof(sxe_xstats_fc_field[0]))
> +
DPDK has RTE_DIM() macro for this
More information about the dev
mailing list