qedi: Use hwfns and affin_hwfn_idx to get MSI-X vector index
authorManish Rangankar <mrangankar@marvell.com>
Sun, 26 May 2019 12:22:29 +0000 (15:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 May 2019 20:04:12 +0000 (13:04 -0700)
commit2bfbc570586e4045cb09214af477223f732a0523
tree9073a4c40e60642a499f1157c0eed8334c5fc98f
parent13b99d3d39074eb88507ebb9dd4fa147a63bc53a
qedi: Use hwfns and affin_hwfn_idx to get MSI-X vector index

MSI-X vector index is determined using qed device information and
affinity to use.

Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/qedi/qedi_main.c