diff options
| author | Andrew Lunn <[email protected]> | 2016-11-21 23:27:02 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-22 09:55:30 -0500 |
| commit | dfafe449bbc91dfeab9b722f4396d3846db4aa50 (patch) | |
| tree | cd796553433bf49c50e70208a593bcd6b570d4ec /include/uapi | |
| parent | de2273876e3fb5a5a62cc538936d06b014b06eda (diff) | |
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 <[email protected]>
v2:
Rename functions to avoid _ prefix.
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions