summaryrefslogtreecommitdiff
path: root/net/unix/scm.c
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 10:53:51 -0700
commitddd2c79da02021153dc8674e5a7e9748e56c1240 (patch)
treec4e3fdd4ee4f7dfdf5dee52a7f552b9cff0dfe4d /net/unix/scm.c
parente3e56775e91398df95c610bfc9bf4025db7dcf66 (diff)
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 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions