]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Update the correct DB FIFO depth and mask for GenP7
authorSelvin Xavier <selvin.xavier@broadcom.com>
Thu, 27 Jun 2024 02:41:03 +0000 (19:41 -0700)
committerLeon Romanovsky <leon@kernel.org>
Mon, 1 Jul 2024 11:36:50 +0000 (14:36 +0300)
commit8e6e5ac7c468cf330c55158fcaa4ab5ad84949c9
treeccfe8b283bc4fec2095018894a37a99550f314a7
parent917918f57a7b139c043e78c502876f2c286f4f0a
RDMA/bnxt_re: Update the correct DB FIFO depth and mask for GenP7

GenP5 and P7 devices have different DB FIFO depth. Use different
values based on the chip context.

Instead of hardcoding doorbell FIFO related values, get it
from the HWRM interface. Maintain backward compatibility
by having default values when FW is not providing the doorbell
FIFO related values.

Signed-off-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1719456065-27394-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/bnxt_re.h
drivers/infiniband/hw/bnxt_re/main.c