common/cnxk: support bandwidth profile stats to index
authorSunil Kumar Kori <skori@marvell.com>
Tue, 12 Oct 2021 07:05:55 +0000 (12:35 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 19 Oct 2021 14:23:32 +0000 (16:23 +0200)
commitc8881e6ef007979fd410d9240f2fd06cad2807b8
tree78e3c33c00b8615dcf298d3c39d523095dc227d5
parentb609507b7c2ddc9e29943752f919a9bcdc5551a7
common/cnxk: support bandwidth profile stats to index

CN10K platform supports different stats for HW bandwidth profiles.
Implement RoC API to get index for given stats type.

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