summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2021-01-12 13:21:17 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-10 11:01:52 -0800
commitd5dd03b26ba49c4ffe67ee1937add82293c19794 (patch)
treeaf50426d8902e1357671aa164fb8783cf74712ab /tools/perf/scripts/python/export-to-postgresql.py
parent5115daa675ccf70497fe56e8916cf738d8212c10 (diff)
net/mlx5e: RX, Mind the MPWQE gaps when calculating offsets
Since cited patch, MLX5E_REQUIRED_WQE_MTTS is not a power of two. Hence, usage of MLX5E_LOG_ALIGNED_MPWQE_PPW should be replaced, as it lost some accuracy. Use the designated macro to calculate the number of required MTTs. This makes sure the solution in cited patch works properly. While here, un-inline mlx5e_get_mpwqe_offset(), and remove the unused RQ parameter. Fixes: c3c9402373fe ("net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU") Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions