Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Eric Dumazet
On Wed, 2015-07-29 at 16:22 -0400, Murali Karicheri wrote: > Eric, > > On 07/29/2015 12:31 PM, Eric Dumazet wrote: > > On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: > >> This patch makes the function __netdev_alloc_frag() non-static and > >> exports it so that drivers that need to

Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Murali Karicheri
Eric, On 07/29/2015 12:31 PM, Eric Dumazet wrote: On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported

Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Eric Dumazet
On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: > This patch makes the function __netdev_alloc_frag() non-static and > exports it so that drivers that need to specify additional flags, > such as __GFP_DMA, can use it. The currently exported function, > netdev_alloc_frag() doesn't allow

[PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread WingMan Kwok
This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported function, netdev_alloc_frag() doesn't allow passing in gfp_mask flags. Signed-off-by: WingMan Kwok

Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Eric Dumazet
On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported function, netdev_alloc_frag() doesn't allow passing

[PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread WingMan Kwok
This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported function, netdev_alloc_frag() doesn't allow passing in gfp_mask flags. Signed-off-by: WingMan Kwok

Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Eric Dumazet
On Wed, 2015-07-29 at 16:22 -0400, Murali Karicheri wrote: Eric, On 07/29/2015 12:31 PM, Eric Dumazet wrote: On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify

Re: [PATCH 1/2] net: Export __netdev_alloc_frag() to allow gfp_mask flags

2015-07-29 Thread Murali Karicheri
Eric, On 07/29/2015 12:31 PM, Eric Dumazet wrote: On Wed, 2015-07-29 at 11:10 -0400, WingMan Kwok wrote: This patch makes the function __netdev_alloc_frag() non-static and exports it so that drivers that need to specify additional flags, such as __GFP_DMA, can use it. The currently exported