On Tue, 24 Oct 2023 13:21:27 +0300
<shaib...@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.
 

Reply via email to