summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-03-19 05:21:31 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-24 00:58:45 -0700
commit47dd7e609f6957437b721af4d027737b63b217b8 (patch)
treeaa5d44b995d255c1cddcd608a09d2b592c89ec85 /tools/perf/scripts/python/stackcollapse.py
parent9f8c7100c8f9879b7e972205cd1f33f0bc1cc8cb (diff)
net/mlx5: E-Switch, Use xarray for vport number to vport and rep mapping
Currently vport number to vport and its representor are mapped using an array and an index. Vport numbers of different types of functions are not contiguous. Adding new such discontiguous range using index and number mapping is increasingly complex and hard to maintain. Hence, maintain an xarray of vport and rep whose lookup is done based on the vport number. Each VF and SF entry is marked with a xarray mark to identify the function type. Additionally PF and VF needs special handling for legacy inline mode. They are additionally marked as host function using additional HOST_FN mark. Signed-off-by: Parav Pandit <parav@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Reviewed-by: Vu Pham <vuhuong@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions