summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2019-03-01 00:25:52 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-02 10:08:00 +0200
commita92e1bb6ade7526f0c2b7b462516b1941e965504 (patch)
tree39049c0d49109cc6fb8cac6c566b0847f2629fee /kernel/profile.c
parentice: Reduce scope of variable in ice_vsi_cfg_rxqs (diff)
downloadlinux-a92e1bb6ade7526f0c2b7b462516b1941e965504.tar.xz
linux-a92e1bb6ade7526f0c2b7b462516b1941e965504.zip
ice: Validate ring existence and its q_vector per VSI
When stopping Tx rings, we use 'i' as an ring array index for looking up whether the ice_ring exists and have assigned a q_vector. This checks rings only within a given TC and we need to go through every ring in VSI. Use 'q_idx' instead. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions