diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-11-22 01:27:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-22 17:55:30 +0300 |
commit | dfafe449bbc91dfeab9b722f4396d3846db4aa50 (patch) | |
tree | cd796553433bf49c50e70208a593bcd6b570d4ec /net/unix/af_unix.c | |
parent | de2273876e3fb5a5a62cc538936d06b014b06eda (diff) | |
download | linux-dfafe449bbc91dfeab9b722f4396d3846db4aa50.tar.xz |
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/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions