Re: [Patch net-next v3] net: mana: Record doorbell physical address in PF mode

From: Simon Horman
Date: Thu Jun 19 2025 - 09:36:53 EST


On Tue, Jun 17, 2025 at 06:36:46PM -0700, longli@xxxxxxxxxxxxxxxxx wrote:
> From: Long Li <longli@xxxxxxxxxxxxx>
>
> MANA supports RDMA in PF mode. The driver should record the doorbell
> physical address when in PF mode.
>
> The doorbell physical address is used by the RDMA driver to map
> doorbell pages of the device to user-mode applications through RDMA
> verbs interface. In the past, they have been mapped to user-mode while
> the device is in VF mode. With the support for PF mode implemented,
> also expose those pages in PF mode.
>
> Support for PF mode is implemented in
> 290e5d3c49f6 ("net: mana: Add support for Multi Vports on Bare metal")
>
> Signed-off-by: Long Li <longli@xxxxxxxxxxxxx>
> ---
> Changes
> v2: add more details in commit message on how the doorbell physical address is used
> v3: add the early commit detail where the support for PF mode is implemented

Thanks for the updates.

I agree that this revision address Jakub's feedback on v2.
Which in turn addressed his feedback on v1.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>