Re: [PATCH net-next v2 2/3] net: systemport: rewrite bcm_sysport_rx_refill

2015-05-29 Thread Petri Gynther
On Fri, May 29, 2015 at 9:42 AM, Florian Fainelli wrote: > Currently, bcm_sysport_desc_rx() calls bcm_sysport_rx_refill() at the end of > Rx > packet processing loop, after the current Rx packet has already been passed to > napi_gro_receive(). However, bcm_sysport_rx_refill() might fail to alloca

[PATCH net-next v2 2/3] net: systemport: rewrite bcm_sysport_rx_refill

2015-05-29 Thread Florian Fainelli
Currently, bcm_sysport_desc_rx() calls bcm_sysport_rx_refill() at the end of Rx packet processing loop, after the current Rx packet has already been passed to napi_gro_receive(). However, bcm_sysport_rx_refill() might fail to allocate a new Rx skb, thus leaving a hole on the Rx queue where no vali