i40iw: remove support for ib_get_vector_affinity
authorSagi Grimberg <sagi@grimberg.me>
Thu, 1 Nov 2018 20:08:07 +0000 (13:08 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 8 Nov 2018 21:22:53 +0000 (14:22 -0700)
commit759ace7832802eaefbca821b2b43a44ab896b449
treefb6b7a5861c15955cc8a1e3eac7d640f89951771
parent9afc97c29b032af9a4112c2f4a02d5313b4dc71f
i40iw: 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: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c