aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2021-03-02 10:15:40 -0800
committerTony Nguyen <[email protected]>2021-06-07 08:59:01 -0700
commit7ad15440acf8b5a889c60216dfc91370b90f455d (patch)
treeecc66d8ef794e43d9da077f950df7f28caa66238 /tools/perf/scripts/python/intel-pt-events.py
parent43c7f9198deb855b7fee1ecb2c2f98f2bfd757c8 (diff)
ice: Refactor VIRTCHNL_OP_CONFIG_VSI_QUEUES handling
Currently, when a VF requests queue configuration via VIRTCHNL_OP_CONFIG_VSI_QUEUES the PF driver expects that this message will only be called once and we always assume the queues being configured start from 0. This is incorrect and is causing issues when a VF tries to send this message for multiple queue blocks. Fix this by using the queue_id specified in the virtchnl message and allowing for individual Rx and/or Tx queues to be configured. Also, reduce the duplicated for loops for configuring the queues by moving all the logic into a single for loop. Signed-off-by: Brett Creeley <[email protected]> Tested-by: Konrad Jankowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions