diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2017-05-18 13:34:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:48:04 +0200 |
commit | 2c582b6bac13e495d6c14fdd1f866b93ff90cddc (patch) | |
tree | 6ca5a2ecff83f1f6a50e26b9730d73c296286855 /security/selinux | |
parent | 72185b9770fc588bc277e4e5336e9cdf7c42ad45 (diff) |
net/mlx5: Tolerate irq_set_affinity_hint() failures
[ Upstream commit b665d98edc9ab295169be2fc5bb4e89a46de0a1a ]
Add tolerance to failures of irq_set_affinity_hint().
Its role is to give hints that optimizes performance,
and should not block the driver load.
In non-SMP systems, functionality is not available as
there is a single core, and all these calls definitely
fail. Hence, do not call the function and avoid the
warning prints.
Fixes: db058a186f98 ("net/mlx5_core: Set irq affinity hints")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Cc: kernel-team@fb.com
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions