]> 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)
commit9af32e0cb30c0280e256e2690f27546e9aa0e6b8
treeba44af19227e527de6320c3d89edececf6c85cb1
parent199fd2a03d3922edbc2e2b404328f1a0c3d4e811
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