]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit098286ff930ca752e4c9295ea65840dd55f5f290
tree4061c29960a2928afa22827b71d97b2aff5f43d7
parent8ae2473842bdbb95bfb451b130dad6a650b3ad1b
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