summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSrujana Challa <schalla@marvell.com>2021-01-15 19:22:21 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-22 14:58:02 +1100
commitfe16eceab0463c160a333b7df4edd707f3a24d5c (patch)
tree27700762cfaaad1c8fcafb4e20483e8cd99b0f02 /include
parent83ffcf78627f98919ebae3dc6715982cc83176ed (diff)
crypto: octeontx2 - enable SR-IOV and mailbox communication with VF
Adds 'sriov_configure' to enable/disable virtual functions (VFs). Also Initializes VF<=>PF mailbox IRQs, register handlers for processing these mailbox messages. Admin function (AF) handles resource allocation and configuration for PFs and their VFs. PFs request the AF directly, via mailboxes. Unlike PFs, VFs cannot send a mailbox request directly. A VF sends mailbox messages to its parent PF, with which it shares a mailbox region. The PF then forwards these messages to the AF. After handling the request, the AF sends a response back to the VF, through the PF. This patch adds support for this 'VF <=> PF <=> AF' mailbox communication. Signed-off-by: Suheil Chandran <schandran@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Signed-off-by: Srujana Challa <schalla@marvell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions