diff options
author | Srikanth, Jampala <Jampala.Srikanth@cavium.com> | 2018-12-04 12:55:54 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 18:24:39 +0800 |
commit | cf718eaa8f9b2cb8a372dcfd5ef701188e233558 (patch) | |
tree | 507e4777d71aa728dd0da7343d696aedebdda2b9 /drivers/crypto/cavium/nitrox/nitrox_mbx.h | |
parent | 19c11c97c39f5c6280b4d523ea170ef9a8f7ed12 (diff) | |
download | linux-cf718eaa8f9b2cb8a372dcfd5ef701188e233558.tar.gz |
crypto: cavium/nitrox - Enabled Mailbox support
Enabled the PF->VF Mailbox support. Mailbox message are interpreted
as {type, opcode, data}. Supported message types are REQ, ACK and NACK.
Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/nitrox/nitrox_mbx.h')
-rw-r--r-- | drivers/crypto/cavium/nitrox/nitrox_mbx.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/crypto/cavium/nitrox/nitrox_mbx.h b/drivers/crypto/cavium/nitrox/nitrox_mbx.h new file mode 100644 index 000000000000..5008399775a9 --- /dev/null +++ b/drivers/crypto/cavium/nitrox/nitrox_mbx.h @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef __NITROX_MBX_H +#define __NITROX_MBX_H + +int nitrox_mbox_init(struct nitrox_device *ndev); +void nitrox_mbox_cleanup(struct nitrox_device *ndev); +void nitrox_pf2vf_mbox_handler(struct nitrox_device *ndev); + +#endif /* __NITROX_MBX_H */ |