• Srujana Challa's avatar
    crypto: octeontx2 - add support to map LMTST region for CN10K · eb33cd91
    Srujana Challa authored
    On CN10K platform transmit/receive buffer alloc and free from/to
    hardware had changed to support burst operation. Whereas pervious
    silicon's only support single buffer free at a time.
    To Support the same firmware allocates a DRAM region for each PF/VF for
    storing LMTLINES. These LMTLINES are used to send CPT commands to HW.
    PF/VF LMTST region is accessed via BAR4. PFs LMTST region is followed
    by its VFs mbox memory. The size of region varies from 2KB to 256KB
    based on number of LMTLINES configured.
    
    This patch adds support for mapping of PF/VF LMTST region.
    Signed-off-by: default avatarSrujana Challa <schalla@marvell.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    eb33cd91
otx2_cpt_common.h 4.03 KB