Re: [PATCH net-next 4/4] gianfar: Add paged allocation and Rx S/G

2015-07-10 Thread David Miller
From: Claudiu Manoil Date: Thu, 9 Jul 2015 19:24:44 +0300 > @@ -2839,6 +2815,94 @@ static irqreturn_t gfar_transmit(int irq, void *grp_id) > return IRQ_HANDLED; > } > > +static bool gfar_add_rx_frag(struct gfar_rx_buff *rxb, unsigned int lstatus, > + struct sk_bu

[PATCH net-next 4/4] gianfar: Add paged allocation and Rx S/G

2015-07-09 Thread Claudiu Manoil
The eTSEC h/w is capable of scatter/gather on the receive side too if MAXFRM > MRBLR, when the allowed maximum Rx frame size is set to be greater than the maximum Rx buffer size (MRBLR). It's about time the driver makes use of this h/w capability, by supporting fixed buffer sizes and Rx S/G. The b