]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:23 +0000 (22:32 -0700)
commit8ea7242352a17197bfdd00a3767bd33a06a84e11
treea132149fbe398d62b1e1ad96b79976d5aae22a6f
parente310a6a56c1e28b35d993eb4739a219ee3a386e0
qed: Remove assumption on SB order in IGU

Orabug: 26783820

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>
[ Upstream commit 1ac72433c565c8db38fd1f9db80a73193369e5fc ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_int.h