[ofa-general] Re: [ewg] [PATCH] ib_core: save process's virtual address in struct ib_umem

Eli Cohen eli at dev.mellanox.co.il
Mon Jan 26 10:28:40 PST 2009


On Mon, Jan 26, 2009 at 09:59:26AM -0800, Roland Dreier wrote:
> 
> seems like a really strange thing to do:
> 
> +	umem->address	= addr;
> 
> this value addr is coming from the low-level driver, so I'm not clear
> why we need to stick it into umem?  What am I missing?
> 

It is has to be saved either at the low level driver's mr object,
e.g. struct mlx4_ib_mr, or at a common place like struct ib_umem. Do
you prefer that it will be saved in struct mlx4_ib_mr?



More information about the general mailing list