qed: Add aux. function translating sb_id -> igu_sb_id
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Thu, 1 Jun 2017 12:29:05 +0000 (15:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 16:17:17 +0000 (12:17 -0400)
commita333f7f3fd327d736a23c52aafcfe17c75f2610c
tree57f483245240ab146c9c2a13af293efadd32f1fa
parentd031548e9194714dc2e8cb928d9f671432c8a342
qed: Add aux. function translating sb_id -> igu_sb_id

An additional step for relaxing the IGU order assumption, we now add
an auxiliary function that can be used for finding the HW status block
that's associated with a given MSI-x vector.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_int.c