cns3xxx: ethernet: use circular queue checks consistently
authorKoen Vandeputte <[email protected]>
Tue, 7 Aug 2018 09:44:36 +0000 (11:44 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:47:45 +0000 (17:47 +0100)
commit28f2df18d1698ee007976f624cef3248494dad0a
tree6b930b63eec596d4cc6e60b888cef8ae4b48df54
parent0877b6e8628fa784f59ebb363ddd2d7e55cabd3e
cns3xxx: ethernet: use circular queue checks consistently

Use the same method for setting queue index pointers consistenly
throughout the source file.

Signed-off-by: Koen Vandeputte <[email protected]>
(backported from 0d283c0180a22610ed5bee988902525dee90cc71)
target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c