summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShailend Chand <shailend@google.com>2024-05-02 02:25:47 +0300
committerDavid S. Miller <davem@davemloft.net>2024-05-05 16:35:34 +0300
commitaf9bcf910b1f86244f39e15e701b2dc564b469a6 (patch)
treee35c9408160bba58a32035c2ec6a2957acbf6420 /tools/perf/scripts/python
parent770f52d5a0ed9ea3e3b8f04927eac520cab97935 (diff)
downloadlinux-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