diff options
author | Shailend Chand <shailend@google.com> | 2024-05-02 02:25:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-05-05 16:35:34 +0300 |
commit | af9bcf910b1f86244f39e15e701b2dc564b469a6 (patch) | |
tree | e35c9408160bba58a32035c2ec6a2957acbf6420 /tools/perf/scripts/python | |
parent | 770f52d5a0ed9ea3e3b8f04927eac520cab97935 (diff) | |
download | linux-af9bcf910b1f86244f39e15e701b2dc564b469a6.tar.xz |
gve: Account for stopped queues when reading NIC stats
We now account for the fact that the NIC might send us stats for a
subset of queues. Without this change, gve_get_ethtool_stats might make
an invalid access on the priv->stats_report->stats array.
Tested-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Shailend Chand <shailend@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions