crypto: chelsio - Read rxchannel-id from firmware
authorAyush Sawal <ayush.sawal@chelsio.com>
Fri, 2 Apr 2021 19:25:48 +0000 (00:55 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 12 Apr 2021 04:48:59 +0000 (14:48 +1000)
commit16a9874fe468855e8ddd72883ca903f706d0a9d0
tree5f9107c7c41cf52d7e7db202cc90b4562afd05df
parentf7cae626cabb3350b23722b78fe34dd7a615ca04
crypto: chelsio - Read rxchannel-id from firmware

The rxchannel id is updated by the driver using the
port no value, but this does not ensure that the value
is correct. So now rx channel value is obtained from
etoc channel map value.

Fixes: 567be3a5d227 ("crypto: chelsio - Use multiple txq/rxq per...")
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