common/cnxk: add provision to enable RED on RQ
authorSatha Rao <skoteshwar@marvell.com>
Wed, 23 Jun 2021 04:46:06 +0000 (10:16 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 29 Jun 2021 18:50:50 +0000 (20:50 +0200)
commit95bec117a396103f6fe38f8da5b0d848efcd0840
treed38be77b82505dcf5c0eec499ae68d48592af247
parent9854e5db5d973e0b59330022cd1bfbb0ff3df3c8
common/cnxk: add provision to enable RED on RQ

Send RED pass/drop levels based on rq configurations to kernel.
Fixed the aura and pool shift value calculation.

Signed-off-by: Satha Rao <skoteshwar@marvell.com>
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_queue.c
drivers/common/cnxk/roc_npa.c
drivers/common/cnxk/roc_npa.h