summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorCambda Zhu <cambda@linux.alibaba.com>2019-11-27 12:03:55 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-01-09 20:21:40 +0300
commit4fad78ad6422d9bca62135bbed8b6abc4cbb85b8 (patch)
tree944ff322274f58fbba53bea6a9104599fcdc9e34 /tools/perf/scripts/python/stackcollapse.py
parentaa604651d523b1493988d0bf6710339f3ee60272 (diff)
downloadlinux-4fad78ad6422d9bca62135bbed8b6abc4cbb85b8.tar.xz
ixgbe: Fix calculation of queue with VFs and flow director on interface flap
This patch fixes the calculation of queue when we restore flow director filters after resetting adapter. In ixgbe_fdir_filter_restore(), filter's vf may be zero which makes the queue outside of the rx_ring array. The calculation is changed to the same as ixgbe_add_ethtool_fdir_entry(). Signed-off-by: Cambda Zhu <cambda@linux.alibaba.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions