]> git.droids-corp.org - dpdk.git/commit
common/cnxk: change policer time unit to configured value
authorRakesh Kudurumalla <rkudurumalla@marvell.com>
Tue, 2 Nov 2021 06:41:35 +0000 (12:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 3 Nov 2021 15:12:09 +0000 (16:12 +0100)
commit67e1cbf3cf295bc8e90b892a358f2b330ce073cf
treec05b8d38bd49fbac019300ac31da7b6bd0e1d9d7
parenta9729f7e1484b96467ea59a9ffcaa13390c2c04a
common/cnxk: change policer time unit to configured value

Ingress meter rate is calculated based on hardcoded
policer time unit. Patch adds mbox interface to
retrieve configured policer time unit.

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/hw/nix.h
drivers/common/cnxk/roc_mbox.h
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_bpf.c
drivers/common/cnxk/roc_npc.c
drivers/common/cnxk/version.map