Denis Bolotin 2d533a9287 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>
2019-01-04 12:57:30 -08:00
..
2018-12-25 13:11:30 -08:00
2018-12-28 14:57:10 -08:00
2018-12-31 17:32:35 -08:00
2019-01-02 16:35:23 -08:00