diff options
author | Ram Amrani <Ram.Amrani@cavium.com> | 2017-03-14 15:25:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-14 11:37:04 -0700 |
commit | f3e48119b97f56fb09310c95d49da122a27003d7 (patch) | |
tree | 6fabfaf2791a275c6a82b14ea4d3937d66c0bc98 /mm/early_ioremap.c | |
parent | a8aa39530269371c786391f3417d8cff07656676 (diff) | |
download | linux-f3e48119b97f56fb09310c95d49da122a27003d7.tar.bz2 |
qed: Align CIDs according to DORQ requirement
The Doorbell HW block can be configured at a granularity
of 16 x CIDs, so we need to make sure that the actual number
of CIDs configured would be a multiplication of 16.
Today, when RoCE is enabled - given that the number is unaligned,
doorbelling the higher CIDs would fail to reach the firmware and
would eventually timeout.
Fixes: dbb799c39717 ("qed: Initialize hardware for new protocols")
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions