]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i40iw: Use vector when creating CQs
authorHenry Orosco <henry.orosco@intel.com>
Thu, 10 Nov 2016 03:24:48 +0000 (21:24 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Dec 2016 21:09:34 +0000 (16:09 -0500)
commite69c5093617afdbd2ab02c289d0adaac044dff66
tree5974b6043be5c0c72d905596bae14a97ee81f72e
parent68583ca2a183c6368f4c333fa989685fba7cf325
i40iw: Use vector when creating CQs

Assign each CEQ vector to a different CPU when possible, then
when creating a CQ, use the vector for the CEQ id. This
allows completion work to be distributed over multiple cores.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c
drivers/infiniband/hw/i40iw/i40iw_verbs.c