OSDN Git Service

octeontx2-af: Mailbox changes for 98xx CPT block
authorSrujana Challa <schalla@marvell.com>
Tue, 2 Feb 2021 15:27:07 +0000 (20:57 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Feb 2021 01:31:34 +0000 (17:31 -0800)
commitde2854c87c64788f94e34217d06e60422e4a1842
tree7b227a9ce4caa2d3ac7c397c7451e361e7cea105
parente0183b974d3008ae769d769cabfa2051c896dd48
octeontx2-af: Mailbox changes for 98xx CPT block

This patch changes CPT mailbox message format to
support new block CPT1 in 98xx silicon.

cpt_rd_wr_reg ->
    Modify cpt_rd_wr_reg mailbox and its handler to
    accommodate new block CPT1.
cpt_lf_alloc ->
    Modify cpt_lf_alloc mailbox and its handler to
    configure LFs from a block address out of multiple
    blocks of same type. If a PF/VF needs to configure
    LFs from both the blocks then this mbox should be
    called twice.

Signed-off-by: Mahipal Challa <mchalla@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c