common/cnxk: support profile statistics
authorSunil Kumar Kori <skori@marvell.com>
Tue, 12 Oct 2021 07:05:56 +0000 (12:35 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 19 Oct 2021 14:23:53 +0000 (16:23 +0200)
commit0fa36bc28879ae10fd99327ea89d4121f218b03a
treea0fcd21ea45b7db8b23ed00e08a084031f4f734a
parentc8881e6ef007979fd410d9240f2fd06cad2807b8
common/cnxk: support profile statistics

CN10K platform provides statistics per bandwidth profile and
per nixlf. Implement RoC API to read stats for given bandwidth
profile.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_bpf.c
drivers/common/cnxk/version.map