summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2022-11-03 09:55:42 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-11-09 21:30:43 +0300
commitf9c955b4fe5c8626d11b8a9b93ccc0ba77358fec (patch)
tree4bb5c6101c1681e63dedcda70e15ffae286236e0 /tools/perf/scripts/python/stackcollapse.py
parent7d167b4a4c810919ba1affd02fc6b7f40e7e6eeb (diff)
downloadlinux-f9c955b4fe5c8626d11b8a9b93ccc0ba77358fec.tar.xz
net/mlx5e: Add missing sanity checks for max TX WQE size
The commit cited below started using the firmware capability for the maximum TX WQE size. This commit adds an important check to verify that the driver doesn't attempt to exceed this capability, and also restores another check mistakenly removed in the cited commit (a WQE must not exceed the page size). Fixes: c27bd1718c06 ("net/mlx5e: Read max WQEBBs on the SQ from firmware") Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@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