]> git.ipfire.org Git - people/ms/linux.git/commit
mlx5: remove support for ib_get_vector_affinity
authorSagi Grimberg <sagi@grimberg.me>
Thu, 1 Nov 2018 16:13:12 +0000 (09:13 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 8 Nov 2018 21:22:53 +0000 (14:22 -0700)
commit9afc97c29b032af9a4112c2f4a02d5313b4dc71f
tree09652d268caedca53404804c4f7ab2c1ec52ea64
parentce1fd6bfb15da135158e93a0ee4c0540cd26b43c
mlx5: remove support for ib_get_vector_affinity

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: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
include/linux/mlx5/driver.h