]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chelsio - calculating tx_channel_id as per the max number of channels
authorAyush Sawal <ayush.sawal@chelsio.com>
Fri, 13 Dec 2019 11:38:52 +0000 (17:08 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Dec 2019 06:58:35 +0000 (14:58 +0800)
commit12a8df6f9fb6513bb12955a112d546f96f082c03
treeec0e8dfb0f962e972637a819ac1a43ff758f4c7d
parent346a31d4ddc46e69d7a995263235f95b7ed291dd
crypto: chelsio - calculating tx_channel_id as per the max number of channels

chcr driver was not using the number of channels from lld and
assuming that there are always two channels available. With following
patch chcr will use number of channel as passed by cxgb4.

Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c