]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Add doorbell information to bnxt_en_dev struct.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 4 May 2020 08:50:38 +0000 (04:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 17:44:11 +0000 (10:44 -0700)
commit5eaf18de808a7989641de71cb586b5f32bc0a54f
tree4061c29960a2928afa22827b71d97b2aff5f43d7
parentcfc14253c0026498a717d6e4a7fd6f5dd0e237ba
bnxt_en: Add doorbell information to bnxt_en_dev struct.

The purpose of this is to inform the RDMA driver the size of the doorbell
BAR that the L2 driver has mapped and the portion that is mapped
uncacheable.  The unchaeable portion is shared with the RoCE driver.
Any remaining unmapped doorbell BAR can be used by the RDMA driver for
its own purpose.  Currently, the entire L2 portion is mapped uncacheable.

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
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h