]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: dsa: mv88e6xxx: Add stats_get_stats to ops structure
authorAndrew Lunn <andrew@lunn.ch>
Mon, 21 Nov 2016 22:27:03 +0000 (23:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2016 14:55:30 +0000 (09:55 -0500)
commit052f947fe12353d36cf0d5430c2ddf87400a33ad
treee0b64cc16d580685be0bb3309557919e0fca1bdd
parentdfafe449bbc91dfeab9b722f4396d3846db4aa50
net: dsa: mv88e6xxx: Add stats_get_stats to ops structure

Different families have different sets of statistics. Abstract this
using a stats_get_stats op. The mv88e6390 needs a different
implementation, which will be added later.

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