summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/prestera/prestera_counter.c
AgeCommit message (Collapse)AuthorFilesLines
2021-11-30net: prestera: add counter HW APIVolodymyr Mytnyk1-0/+475
Add counter API for getting HW statistics. - HW statistics gathered by this API are deleyed. - Batch of conters is supported. - acl stat is supported. Co-developed-by: Serhiy Boiko <serhiy.boiko@marvell.com> Signed-off-by: Serhiy Boiko <serhiy.boiko@marvell.com> Signed-off-by: Volodymyr Mytnyk <vmytnyk@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>