aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorShailend Chand <shailend@google.com>2024-05-01 23:25:47 +0000
committerDavid S. Miller <davem@davemloft.net>2024-05-05 14:35:34 +0100
commitaf9bcf910b1f86244f39e15e701b2dc564b469a6 (patch)
treee35c9408160bba58a32035c2ec6a2957acbf6420 /drivers/net/ethernet/intel/ice/ice_main.c
parent770f52d5a0ed9ea3e3b8f04927eac520cab97935 (diff)
downloadlinux-af9bcf910b1f86244f39e15e701b2dc564b469a6.tar.gz
linux-af9bcf910b1f86244f39e15e701b2dc564b469a6.tar.bz2
linux-af9bcf910b1f86244f39e15e701b2dc564b469a6.zip
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 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions