RE: [PATCH net-next 2/2] cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes

2014-03-26 Thread Steve Wise
> > + uresp.status_page_size = PAGE_SIZE; > > + > > + spin_lock(&context->mmap_lock); > > + uresp.status_page_key = context->key; > > + context->key += PAGE_SIZE; > > + spin_unlock(&context->mmap_lock); > > + > > Is it really necessary to spinloc

Re: [PATCH net-next 2/2] cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes

2014-03-26 Thread Yann Droneaud
Le vendredi 14 mars 2014 à 21:52 +0530, Hariprasad Shenai a écrit : > From: Steve Wise [...] > Signed-off-by: Steve Wise > --- > drivers/infiniband/hw/cxgb4/device.c| 177 > ++-- > drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 9 +- > drivers/infiniband/h