Files
twx-linux/include/linux
Denis Bolotin a096429cac qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count
[ Upstream commit 2d533a9287 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-27 10:08:03 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-24 09:36:39 +02:00
…
…
…
…
2018-02-22 15:42:23 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-08-03 07:50:38 +02:00
…
…
…
…
…
…
2018-02-22 15:42:23 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-22 15:42:23 +01:00
…
…
…
…
…
2018-06-21 04:02:49 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-22 15:42:24 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-22 15:42:23 +01:00
…
…
2017-09-25 08:56:05 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-09-09 19:55:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-11-13 11:15:11 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…