summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDenis Bolotin <dbolotin@marvell.com>2019-01-03 12:02:39 +0200
committerDavid S. Miller <davem@davemloft.net>2019-01-04 12:57:30 -0800
commit2d533a9287f2011632977e87ce2783f4c689c984 (patch)
tree4ae62c4cef5e199c64eb06c9eeac4076c16d9b30 /mm
parentf8c468e8537925e0c4607263f498a1b7c0c8982e (diff)
qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count
In PBL chains with non power of 2 page count, the producer is not at the beginning of the chain when index is 0 after a wrap. Therefore, after the producer index wrap around, page index should be calculated more carefully. Signed-off-by: Denis Bolotin <dbolotin@marvell.com> Signed-off-by: Ariel Elior <aelior@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions