Re: [net-next PATCH V1 2/3] mlx4: use napi_alloc_skb API to get SKB bulk allocations

2016-05-09 Thread Jesper Dangaard Brouer
On Mon, 9 May 2016 09:47:08 -0700 Alexander Duyck wrote: > On Mon, May 9, 2016 at 6:44 AM, Jesper Dangaard Brouer > wrote: > > Activate the bulk alloc API, simply by changing mlx4 from using > > netdev_alloc_skb() to using napi_alloc_skb(). > > This patch is just enabling the napi_alloc_skb c

Re: [net-next PATCH V1 2/3] mlx4: use napi_alloc_skb API to get SKB bulk allocations

2016-05-09 Thread Alexander Duyck
On Mon, May 9, 2016 at 6:44 AM, Jesper Dangaard Brouer wrote: > Activate the bulk alloc API, simply by changing mlx4 from using > netdev_alloc_skb() to using napi_alloc_skb(). This patch is just enabling the napi_alloc_skb call. You don't need to call out that it is enabling bulk allocations. T

[net-next PATCH V1 2/3] mlx4: use napi_alloc_skb API to get SKB bulk allocations

2016-05-09 Thread Jesper Dangaard Brouer
Activate the bulk alloc API, simply by changing mlx4 from using netdev_alloc_skb() to using napi_alloc_skb(). Signed-off-by: Jesper Dangaard Brouer --- drivers/net/ethernet/mellanox/mlx4/en_rx.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/me