Re: [PATCH V2 net-next 2/4] net: ena: ethtool: Add new device statistics

2020-08-19 Thread Andrew Lunn
> + if (eni_stats_needed) { > + ena_update_hw_stats(adapter); > + for (i = 0; i < ENA_STATS_ARRAY_ENI(adapter); i++) { > + ena_stats = &ena_stats_eni_strings[i]; > + > + ptr = (u64 *)((unsigned long)&adapter->eni_stats + > +

[PATCH V2 net-next 2/4] net: ena: ethtool: Add new device statistics

2020-08-19 Thread sameehj
From: Sameeh Jubran The new metrics provide granular visibility along multiple network dimensions and enable troubleshooting and remediation of issues caused by instances exceeding network performance allowances. The new statistics can be queried using ethtool command. Signed-off-by: Guy Tzalik