diff options
author | Srikanth Jampala <Jampala.Srikanth@cavium.com> | 2018-09-29 10:19:09 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-10-05 04:22:48 +0200 |
commit | e7892dd6d8b0c9149ac2393b27f8913fa09227b5 (patch) | |
tree | 6924f71db1c576067251d90b18cb7a467a46aa39 /drivers/crypto/cavium/nitrox/nitrox_isr.c | |
parent | crypto: cavium/nitrox - use pcie_flr instead of duplicating it (diff) | |
download | linux-e7892dd6d8b0c9149ac2393b27f8913fa09227b5.tar.xz linux-e7892dd6d8b0c9149ac2393b27f8913fa09227b5.zip |
crypto: cavium/nitrox - NITROX command queue changes.
Use node based allocations for queues. consider the dma address
alignment changes, while calculating the queue base address.
added checks in cleanup functions. Minor changes to queue variable names
Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com>
Reviewed-by: Gadam Sreerama <sgadam@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/nitrox/nitrox_isr.c')
-rw-r--r-- | drivers/crypto/cavium/nitrox/nitrox_isr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/cavium/nitrox/nitrox_isr.c b/drivers/crypto/cavium/nitrox/nitrox_isr.c index 4f4334929f35..baeacacbddbe 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_isr.c +++ b/drivers/crypto/cavium/nitrox/nitrox_isr.c @@ -335,7 +335,7 @@ static int nitrox_setup_pkt_slc_bh(struct nitrox_device *ndev) offset = NPS_PKT_SLC_CNTSX(i); /* pre calculate completion count address */ bh->completion_cnt_csr_addr = NITROX_CSR_ADDR(ndev, offset); - bh->cmdq = &ndev->pkt_cmdqs[i]; + bh->cmdq = &ndev->pkt_inq[i]; tasklet_init(&bh->resp_handler, pkt_slc_resp_handler, (unsigned long)bh); |