diff options
author | Chandramohan Akula <chandramohan.akula@broadcom.com> | 2023-07-18 22:02:52 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-07-21 16:15:32 -0300 |
commit | 61220e098e858951f1926d66c1490a96351e1c85 (patch) | |
tree | a9e6fcbc05df4efe8404ceda4e2d84c0ff5388c8 /drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | |
parent | cf1694f09894e760f4e2cf068ee6519d11cd0ede (diff) | |
download | linux-61220e098e858951f1926d66c1490a96351e1c85.tar.gz linux-61220e098e858951f1926d66c1490a96351e1c85.tar.bz2 linux-61220e098e858951f1926d66c1490a96351e1c85.zip |
bnxt_en: Share the bar0 address with the RoCE driver
Add a parameter in the bnxt_en_dev structure to share the bar0 address
with RoCE driver.
Link: https://lore.kernel.org/r/1689742977-9128-3-git-send-email-selvin.xavier@broadcom.com
CC: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c index 852eb449ccae..6ba2b9398633 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c @@ -345,7 +345,7 @@ static void bnxt_set_edev_info(struct bnxt_en_dev *edev, struct bnxt *bp) edev->hw_ring_stats_size = bp->hw_ring_stats_size; edev->pf_port_id = bp->pf.port_id; edev->en_state = bp->state; - + edev->bar0 = bp->bar0; edev->ulp_tbl->msix_requested = bnxt_get_ulp_msix_num(bp); } |