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:50:09 +0200 |
commit | 4f58c2e97cf347121220f9c0a12eb910196e50eb (patch) | |
tree | 13dd3efeb3930a1025b0b889ed297f2adddfd3b1 /security | |
parent | d5367b8982446d191d60e57f1335726958c6242f (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')
0 files changed, 0 insertions, 0 deletions