-
由 Sagi Grimberg 提交于
mainline inclusion from mainline-v5.0-rc1 commit 9afc97c2 category: bugfix bugzilla: NA CVE: NA Link: https://gitee.com/openeuler/kernel/issues/I1WGZE ------------------------------------------------- Devices that does not use managed affinity can not export a vector affinity as the consumer relies on having a static mapping it can map to upper layer affinity (e.g. sw queues). If the driver allows the user to set the device irq affinity, then the affinitization of a long term existing entites is not relevant. For example, nvme-rdma controllers queue-irq affinitization is determined at init time so if the irq affinity changes over time, we are no longer aligned. Signed-off-by: NSagi Grimberg <sagi@grimberg.me> Acked-by: NLeon Romanovsky <leonro@mellanox.com> Signed-off-by: NDoug Ledford <dledford@redhat.com> Signed-off-by: NJason Gunthorpe <jgg@mellanox.com> Reviewed-by: NChao Leng <lengchao@huawei.com> Reviewed-by: NJike Cheng <chengjike.cheng@huawei.com> Conflicts: drivers/infiniband/hw/mlx5/main.c include/linux/mlx5/driver.h [lrz: adjust context] Signed-off-by: NRuozhu Li <liruozhu@huawei.com> Signed-off-by: NLijie <lijie34@huawei.com> Reviewed-by: NTao Hou <houtao1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
c23725b4