From: Zilber E. <er...@te...> - 2004-05-27 14:59:19
|
I'm trying to release the memory from a CQ callback function. This command runs after running cl_spinlock_acquire. However, this code was released as a part of the SF project code (SRP), so I assumed that it should work fine... On Thu, 27 May 2004, Fab Tillier wrote: > You are probably holding a spinlock or are running in a tasklet context. > Memory registration and deregistration has to be done in a thread context > that is able to block.This is a limitation of the Mellanox HCA. > > - Fab > > > -----Original Message----- > > From: er...@te... [mailto:er...@te....= il] > > Sent: Thursday, May 27, 2004 5:55 AM > > To: inf...@li... > > Subject: [Infiniband-access_layer] ib_dereg_mr fails > > > > Hi, > > > > I'm regsitering memory using ib_reg_mem (in order to allow another > > application > > to perform RDMA write). Later, I want to free this memory using > > ib_dereg_mr. I > > get the following errors: > > > > TVPD(1): THH_hob_deregister_mr: NOT IN TASK CONTEXT) > > May 27 15:43:20 psl-178 kernel:TVPD(1): kvp_mlx_mrw.c[609]: > > kvp_mlnx_deregister_mr: THH_hob_deregister_mr error (-255: HH_ERR) > > May 27 15:43:20 psl-178 kernel: srpl_retire() !ERROR!: ib_dereg_mr() > > failed ! > > status =3D 0x2a > > > > Why? > > > > Thanks > > Erez > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g= =2E > > Take an Oracle 10g class now, and we'll give you theexam FREE. > > http://ads.osdn.com/?ad_id149&alloc_id=8166&op=3Dick > > _______________________________________________ > > Infiniband-access_layer mailing list > > Inf...@li... > > https://lists.sourceforge.net/lists/listinfo/infiniband-access_layer > > > > ------------------ |