]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix TM block ILT allocation
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Mon, 3 Apr 2017 09:21:10 +0000 (12:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Apr 2017 02:16:37 +0000 (19:16 -0700)
commitd4335be03de85acfd3dc184411b5072a72532769
treefcba4d25409af008a9f2ced8d785533d57a986dd
parent4c7af2ccb9faac91630c3267685c992579bd241d
qed: Fix TM block ILT allocation

When configuring the HW timers block we should set the number of CIDs
up until the last CID that require timers, instead of only those CIDs
whose protocol needs timers support.

Today, the protocols that require HW timers' support have their CIDs
before any other protocol, but that would change in future [when we
add iWARP support].

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