Re: [PATCH 11/12] ftgmac100: Add support for fragmented tx

2017-04-07 Thread Benjamin Herrenschmidt
On Fri, 2017-04-07 at 06:26 -0700, Florian Fainelli wrote: > > On 04/06/2017 08:31 PM, Benjamin Herrenschmidt wrote: > > Add NETIF_F_SG and create multiple TX ring entries for skb fragments. > > > > On reclaim, the skb is only freed on the segment marked as "last". > > > > > > Signed-off-by:

Re: [PATCH 11/12] ftgmac100: Add support for fragmented tx

2017-04-07 Thread Florian Fainelli
On 04/06/2017 08:31 PM, Benjamin Herrenschmidt wrote: > Add NETIF_F_SG and create multiple TX ring entries for skb fragments. > > On reclaim, the skb is only freed on the segment marked as "last". > > Signed-off-by: Benjamin Herrenschmidt > [snip] > > -

[PATCH 11/12] ftgmac100: Add support for fragmented tx

2017-04-06 Thread Benjamin Herrenschmidt
Add NETIF_F_SG and create multiple TX ring entries for skb fragments. On reclaim, the skb is only freed on the segment marked as "last". Signed-off-by: Benjamin Herrenschmidt # Conflicts: # drivers/net/ethernet/faraday/ftgmac100.c ---