common/cnxk: support 98XX CPT dual block
authorTejasree Kondoj <ktejasree@marvell.com>
Thu, 16 Sep 2021 11:34:19 +0000 (17:04 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 8 Oct 2021 19:31:07 +0000 (21:31 +0200)
commit7658d035ac4a0442b3a33b58ff3d8ad4a9cdcc20
tree0afdb3769455e0de0a3f5bb732307ad5c33a622d
parentb0df6b29e764d30a0a23b7be378bdc04066d90a3
common/cnxk: support 98XX CPT dual block

CN98xx SoC comes up with two CPT blocks wrt
CN96xx, CN93xx, to achieve higher performance.

Adding support to allocate all LFs of VF with even BDF from CPT0
and all LFs of VF with odd BDF from CPT1.
If LFs are not available in one block then they will be allocated
from alternate block.

Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
doc/guides/rel_notes/release_21_11.rst
drivers/common/cnxk/roc_cpt.c
drivers/common/cnxk/roc_cpt.h