OSDN Git Service

crypto: hisilicon/qm - add callback to support communication
authorWeili Qian <qianweili@huawei.com>
Sat, 29 May 2021 14:15:36 +0000 (22:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Jun 2021 12:24:07 +0000 (20:24 +0800)
commit3cd53a27c2fc58da9dcf6f22f4ed5705e398a1b9
tree80780141fee58a128d1a91a09f4c530d2be6451f
parente3ac4d20e93664755ccea87ad1c71f264a6c9d74
crypto: hisilicon/qm - add callback to support communication

This patch adds 'ping_all_vfs' callback that supports pf send message to
all vfs and 'ping_pf' callback that supports vf send message to pf. After
receiving the interrupt, the communication destination gets the message
by sending mailbox.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c