qed: Make OOO archipelagos into an array
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Thu, 6 Apr 2017 12:58:35 +0000 (15:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Apr 2017 21:26:31 +0000 (14:26 -0700)
commit1eec2437d14c76af3b1271011940036eb0d7d3cf
tree6c4f75e2dd59222327b38099064becc33d56f667
parent2f2b2614e8937e95c29ac733d8956a48771613d2
qed: Make OOO archipelagos into an array

No need to maintain the various open archipelagos as a list -
The maximal number of them is known, and we can use the CID
as key for random-access into the array.

Signed-off-by: Michal Kalderon <Michal.Kalderon@caviumc.om>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ooo.c
drivers/net/ethernet/qlogic/qed/qed_ooo.h