net: mana: Record doorbell physical address in PF mode
Subsystems (5)
PATCH 1/1 net: mana: Record doorbell physical address in PF mode
From: Long Li <[email protected]>
MANA supports RDMA in PF mode. The driver should record the doorbell physical address when in PF mode.
--- drivers/net/ethernet/microsoft/mana/gdma_main.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/ethernet/microsoft/mana/gdma_main.c +3 -0
@@ -31,6 +31,9 @@ static void mana_gd_init_pf_regs(struct pci_dev *pdev) gc->db_page_base = gc->bar0_va +mana_gd_r64 (gc,GDMA_PF_REG_DB_PAGE_OFF ); + gc->phys_db_page_base = gc->bar0_pa + +mana_gd_r64 (gc,GDMA_PF_REG_DB_PAGE_OFF ); + sriov_base_off =mana_gd_r64 (gc,GDMA_SRIOV_REG_CFG_BASE_OFF ); sriov_base_va = gc->bar0_va + sriov_base_off;
Signature · 1 line
2.25.1
Jakub Kicinski
maintainerQuoted 4 lines · On Mon, 9 Jun 2025 16:09:40 -0700 [email protected] wrote:
From: Long Li <[email protected]>
MANA supports RDMA in PF mode. The driver should record the doorbell physical address when in PF mode.
Could you explain in more detail what happens if it doesn't? What user-visible improvement does this patch bring?
Signature · 1 line
pw-bot: cr
Quoted 11 lines
Subject: [EXTERNAL] Re: [PATCH net-next] net: mana: Record doorbell physical address in PF mode
Quoted 4 lines · On Mon, 9 Jun 2025 16:09:40 -0700 [email protected] wrote:
From: Long Li <[email protected]>
MANA supports RDMA in PF mode. The driver should record the doorbell physical address when in PF mode.
Could you explain in more detail what happens if it doesn't? What user-visible improvement does this patch bring?
Yes, I'm sending v2 with more details in the commit message.
Quoted 2 lines
--
pw-bot: cr