Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ena: fix getting xstats global stats offset
[ upstream commit 493107f ] There was a bug in a code, which was reading stat_offset value from the ena_stats_rx_strings array instead of ena_stats_global_strings. It wasn't causing real problems just because ena_stats_rx_strings was not smaller than ena_stats_global_strings and both arrays hold the same offsets. Fixes: 7830e90 ("net/ena: expose extended stats") Signed-off-by: Michal Krawczyk <mk@semihalf.com> Reviewed-by: Igor Chauskin <igorch@amazon.com> Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
- Loading branch information