Re: [PATCH net-next 2/5] cxgb4: Add support to initialise/read SRQ entries

2018-03-18 Thread Stefano Brivio
On Sat, 17 Mar 2018 12:52:26 +0530 Raju Rangoju wrote: > +struct srq_data *t4_init_srq(int srq_size) > +{ > + struct srq_data *s; > + > + s = kzalloc(sizeof(*s), GFP_KERNEL | __GFP_NOWARN); > + if (!s) > + s = vzalloc(sizeof(*s)); > + if (!s) > + return NUL

[PATCH net-next 2/5] cxgb4: Add support to initialise/read SRQ entries

2018-03-17 Thread Raju Rangoju
- This patch adds support to initialise srq table and read srq entries Signed-off-by: Raju Rangoju Reviewed-by: Steve Wise Signed-off-by: Ganesh Goudar --- drivers/net/ethernet/chelsio/cxgb4/Makefile | 2 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 + drivers/net/ethernet/chelsio/cx