crypto: chelsio - Update ntx queue received from cxgb4
authorHarsh Jain <harsh@chelsio.com>
Sat, 13 Oct 2018 08:16:56 +0000 (13:46 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 17 Oct 2018 06:16:19 +0000 (14:16 +0800)
commita1c6fd4308d37f072e939a2782f24214115fc7e8
tree1ebe9aefa758a96a8b998f7001fd65f13c8d51fe
parent18e732b8035d175181aae2ded127994cb01694f7
crypto: chelsio - Update ntx queue received from cxgb4

Update cxgb4 to send No. of Tx Queue created in lldinfo struct
and use the same ntxq in chcr driver.

This patch depends on following commit
commit  add92a817e60e308a419693413a38d9d1e663aff
"Fix memory corruption in DMA Mapped buffers"

v2:
Free txq_info in error case as pointed by Lino Sanfilippo.

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_core.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c