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

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

2014-03-14 Thread Hariprasad Shenai
From: Steve Wise The current logic suffers from a slow response time to disable user DB usage, and also fails to avoid DB FIFO drops under heavy load. This commit fixes these deficiencies and makes the avoidance logic more optimal. This is done by more efficiently notifying the ULDs of potential