summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaher Sanalla <msanalla@nvidia.com>2023-06-12 11:50:10 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-08-07 20:53:51 +0300
commitddd2c79da02021153dc8674e5a7e9748e56c1240 (patch)
treec4e3fdd4ee4f7dfdf5dee52a7f552b9cff0dfe4d /include
parente3e56775e91398df95c610bfc9bf4025db7dcf66 (diff)
downloadlinux-ddd2c79da02021153dc8674e5a7e9748e56c1240.tar.xz
net/mlx5: Introduce mlx5_cpumask_default_spread
For better code readability in the completion IRQ request code, define the cpu lookup per completion vector logic in a separate function. The new method mlx5_cpumask_default_spread() given a vector index 'n' will return the 'nth' cpu. This new method will be used also in the next patch. Signed-off-by: Maher Sanalla <msanalla@nvidia.com> Reviewed-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions