diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-11-21 23:27:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-22 09:55:30 -0500 |
commit | dfafe449bbc91dfeab9b722f4396d3846db4aa50 (patch) | |
tree | cd796553433bf49c50e70208a593bcd6b570d4ec /net/tipc/socket.c | |
parent | de2273876e3fb5a5a62cc538936d06b014b06eda (diff) | |
download | linux-dfafe449bbc91dfeab9b722f4396d3846db4aa50.tar.bz2 |
net: dsa: mv88e6xxx: Add stats_get_sset_count|string to ops structure
Different families have different sets of statistics. Abstract this
using a stats_get_sset_count and stats_get_strings op. Each stat has a
bitmap, and the ops implementer uses a bit map mask to count the
statistics which apply for the family, or return the list of strings.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v2:
Rename functions to avoid _ prefix.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions