]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:54 +0000 (20:46 -0700)
commitcacf80d656d7c75a28aea54778d6feaccccf8702
treeaf48996e08571f64c8ebcd926c9de7acf769504e
parenta8793f27e043bdd04c6d87dcd878d9b263600dca
qed: Fix TM block ILT allocation

Orabug: 2593305326439680

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>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_cxt.c