]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Remove assumption on SB order in IGU
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Thu, 1 Jun 2017 12:29:07 +0000 (15:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jun 2017 16:17:18 +0000 (12:17 -0400)
commit8f730793687e6a5e87ecd5e0254df0712ab52241
treeba44af19227e527de6320c3d89edececf6c85cb1
parent1e8832bc0fab306e3b70f43baf928f3bf3ea14d1
qed: Remove assumption on SB order in IGU

Current code assumes there's a known layout for SBs in the IGU,
where all the SBs of a single entity would be laid in consecutive
order of vectors.

While the assumption is still kept by management firmware, we already
have the necessary information to eliminate it, so no reason to keep
it in code.

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
drivers/net/ethernet/qlogic/qed/qed_int.h