diff options
author | Kashyap Desai <kashyap.desai@broadcom.com> | 2023-06-09 04:01:53 -0700 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-06-12 10:10:54 +0300 |
commit | bcfee4ce3e0139ffa9c564e4ed3682e8b87f0a1d (patch) | |
tree | 51023389ac1ba95fb87a7d495c42838a5bba8942 /drivers/dax | |
parent | f0c875ff6293965a30aaeb02a0d19b293e11bc2b (diff) | |
download | linux-stable-bcfee4ce3e0139ffa9c564e4ed3682e8b87f0a1d.tar.gz linux-stable-bcfee4ce3e0139ffa9c564e4ed3682e8b87f0a1d.tar.bz2 linux-stable-bcfee4ce3e0139ffa9c564e4ed3682e8b87f0a1d.zip |
RDMA/bnxt_re: remove redundant cmdq_bitmap
cmdq_bitmap is used to derive the next available index in the CMDQ.
This is not required as the we can get the next index
using the existing bnxt_qplib_crsqe array.
Driver will use bnxt_qplib_crsqe array and flag is_in_used to
derive valid entries. is_in_used is replacement of cmdq_bitmap.
There is no change in the existing mechanism of the circular buffer
used to get index.
Added opcode field in bnxt_qplib_crsqe array so that it is easy to map
opcode associated with pending rcfw command.
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1686308514-11996-17-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions