]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6de467ec9de27d09baaeb4099803a13d98bdabfd
tree52f550d054ba29b3760d5468103131c931fd654c
parentc2fca1bc586db39cc34a91d04220dde1c9204f9f
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