aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2019-08-02 01:25:19 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-08-26 23:33:40 -0700
commitd02f734cb713aee558f61883ea694c056b01beb0 (patch)
tree8b98a102d8372943ce452885547783b1c904ac36 /tools/perf/scripts/python/stackcollapse.py
parentice: fix potential infinite loop (diff)
downloadlinux-d02f734cb713aee558f61883ea694c056b01beb0.tar.gz
linux-d02f734cb713aee558f61883ea694c056b01beb0.zip
ice: add support for enabling/disabling single queues
Refactor the queue handling functions that are going through queue arrays in a way that the logic done for a single queue is pulled out and it will be called for each ring when traversing ring array. This implies that when disabling Tx rings we won't fill up q_ids, q_teids and q_handles arrays. Drop also 'offset' parameter; the value from vsi's txq_map is stored in ring->reg_idx and that drops the need for mentioned parameter. Introduce the ice_vsi_cfg_txq, ice_vsi_stop_tx_ring and ice_vsi_ctrl_rx_ring that are the functions with pulled out logic. There's several Tx queue meta data (q_id, q_handle, q_teid and other) that need to be set up during Tx queue disablement, so let's as well add a helper structure that wraps it up and a function that will be filling it up. Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.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
test/ntb_tool.c?id=bfcaa39652bf64294261415e5fa18ef0445a4d74&follow=1'>ntb_tool: Add link status and files to debugfsLogan Gunthorpe1-0/+92 2016-08-05ntb_tool: Postpone memory window initialization for the userLogan Gunthorpe1-138/+228 2016-08-05ntb_perf: Wait for link before running testLogan Gunthorpe1-1/+4 2016-08-05ntb_perf: Return results by reading the run fileLogan Gunthorpe1-12/+55 2016-08-05ntb_perf: Improve thread handling to increase robustnessLogan Gunthorpe1-48/+76 2016-08-05ntb_perf: Schedule based on time not on performanceLogan Gunthorpe1-2/+4 2016-08-05ntb_transport: Check the number of spads the hardware supportsLogan Gunthorpe2-4/+13 2016-08-05ntb_tool: Add memory window debug supportLogan Gunthorpe1-1/+257 2016-08-05ntb_perf: Allow limiting the size of the memory windowsLogan Gunthorpe1-0/+8 2016-08-05NTB: allocate number transport entries depending on size of ring sizeDave Jiang1-2/+27 2016-08-05ntb_tool: BUG: Ensure the buffer size is large enough to return all spadsLogan Gunthorpe1-2/+8 2016-08-05ntb_tool: Fix infinite loop bug when writing spad/peer_spad fileLogan Gunthorpe1-4/+5