net: dsa: mv88e6xxx: global1_atu: Add helper for get next
authorAndrew Lunn <andrew@lunn.ch>
Tue, 5 Nov 2019 00:13:00 +0000 (01:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 02:09:45 +0000 (18:09 -0800)
commitc5f299d592617847124900d75e5765cb0368ffae
tree52f550d054ba29b3760d5468103131c931fd654c
parent6239a386e784aed13c3ead54c3992ebcb0512d5f
net: dsa: mv88e6xxx: global1_atu: Add helper for get next

When retrieving the ATU statistics, and ATU get next has to be
performed to trigger the ATU to collect the statistics. Export a
helper from global1_atu to perform this.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/global1_atu.c
drivers/net/dsa/mv88e6xxx/global2.c
drivers/net/dsa/mv88e6xxx/global2.h