Re: FMR Support in multi-function environment

2014-11-11 Thread Bob Biloxi
> In SRIOV, FMR is supported only for the PF, not for VFs (since this > feature requires writing directly to mapped ICM memory). Hi, Thank you so much for pointing to the exact code!! I have a related question. I was trying to figure out the use case for FMR in this environment(where in only PF

Re: FMR Support in multi-function environment

2014-11-11 Thread Jack Morgenstein
On Mon, 10 Nov 2014 19:58:46 +0530 Bob Biloxi wrote: > Hi, > > Is FMR (Fast Memory Regions) supported in a multi-function mode? In SRIOV, FMR is supported only for the PF, not for VFs (since this feature requires writing directly to mapped ICM memory). You can see this in file drivers/infiniba

Re: FMR Support in multi-function environment

2014-11-10 Thread Bob Biloxi
Hi, > no, the proprietary FMRs are not supported for mlx4 VFs, nor for mlx5 both > PF/VFs > use the fast reg API, see for example this commit 5587856 "IB/iser: > Introduce fast memory registration model (FRWR)" how this is done. The API > was introduced in commit 00f7ec3 "RDMA/core: Add memory ma

Re: FMR Support in multi-function environment

2014-11-10 Thread Or Gerlitz
On 11/10/2014 4:28 PM, Bob Biloxi wrote: Suppose a VF driver wants to register large amount of memory using FMR, will it be able to do so using the mlx4 code. no, the proprietary FMRs are not supported for mlx4 VFs, nor for mlx5 both PF/VFs Or FMR is supported only in dedicated mode? use

FMR Support in multi-function environment

2014-11-10 Thread Bob Biloxi
Hi, Is FMR (Fast Memory Regions) supported in a multi-function mode? If yes, I couldn't find the source code for the same in the mlx4 codebase. Can anyone please point me to the right location... What I was trying to understand is this: Suppose a VF driver wants to register large amount of memo