]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Set the db_offset on 57500 chips for the RDMA MSIX entries.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 4 May 2020 08:50:36 +0000 (04:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 17:44:11 +0000 (10:44 -0700)
commitd82e1f5e058797b224f852f0e84729703421a081
tree243a2e477935fff59bf7d46bab54bb15d0e1509d
parent40373af8abee1a8bac57131e2b6b2b4ac838b6bf
bnxt_en: Set the db_offset on 57500 chips for the RDMA MSIX entries.

The driver provides completion ring or NQ doorbell offset for each
MSIX entry requested by the RDMA driver.  The NQ offset on 57500
chips is different than legacy chips.  Set it correctly based on
chip type for correctness.  The RDMA driver is ignoring this field
for the 57500 chips so it is not causing any problem.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c