crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver
authorHarsh Jain <harsh@chelsio.com>
Sun, 8 Oct 2017 08:07:23 +0000 (13:37 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Nov 2017 13:50:46 +0000 (21:50 +0800)
commit2f47d58043110b0aeac1952494db668fc0fc7c0a
tree23d39e52581e3d0101105ce84d34be36b9a6c6b2
parent2956f36c954ee6e31068a02cf2ca551efa5235f1
crypto: chelsio - Move DMA un/mapping to chcr from lld cxgb4 driver

Allow chcr to do DMA mapping/Unmapping instead of lld cxgb4.
It moves "Copy AAD to dst buffer" requirement from driver to
firmware.

Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_algo.h
drivers/crypto/chelsio/chcr_crypto.h
drivers/net/ethernet/chelsio/cxgb4/sge.c