On Wed,  2 Apr 2025 06:58:56 +0000
liwencheng <liwench...@phytium.com.cn> wrote:

> +
> +struct __rte_cache_aligned macb_rx_queue_stats {
> +     union {
> +             unsigned long first;
> +             unsigned long rx_packets;
> +     };
> +     unsigned long rx_bytes;
> +     unsigned long rx_dropped;
> +};
> +
> +struct __rte_cache_aligned macb_tx_queue_stats {
> +     unsigned long tx_packets;
> +     unsigned long tx_bytes;
> +     unsigned long tx_dropped;
> +     unsigned long tx_start_packets;
> +     unsigned long tx_start_bytes;
> +};
> +

Doesn't really matter, but most drivers use uint64_t for stats.

Reply via email to