[PATCH 4/5] net/ena: add support for ena-express metrics
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 24 17:26:39 CEST 2023
On Tue, 24 Oct 2023 13:21:27 +0300
<shaibran at amazon.com> wrote:
> struct ena_offloads {
> uint32_t tx_offloads;
> uint32_t rx_offloads;
> @@ -329,6 +346,7 @@ struct ena_adapter {
> */
> uint64_t metrics_stats[ENA_MAX_CUSTOMER_METRICS] __rte_cache_aligned;
> uint16_t metrics_num;
> + struct ena_stats_srd srd_stats __rte_cache_aligned;
> };
If metrics_num was before the metrics_stats[] you would save some space.
More information about the dev
mailing list