[PATCH v2 1/1] crypto:chelsio: Update ntx queue received from cxgb4

2018-10-13 Thread Harsh Jain
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.

Re: [PATCH 1/1] crypto:chelsio: Update ntx queue received from cxgb4

2018-10-13 Thread Harsh Jain
On 13-10-2018 05:46, Lino Sanfilippo wrote: > Hi, > >> +if (uld_type == CXGB4_ULD_CRYPTO) { >> +i = min_t(int, adap->vres.ncrypto_fc, >> + num_online_cpus()); >> +txq_info->ntxq = rounddown(i, adap->params.nports); >> +if (txq_info->nt