[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140611.004108.1527243476443283864.davem@davemloft.net>
Date: Wed, 11 Jun 2014 00:41:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: octavian.purdila@...el.com
Cc: netdev@...r.kernel.org, christoph.paasch@...ouvain.be
Subject: Re: [PATCH net-next] net: add skb allocation flags to __pskb_copy
From: Octavian Purdila <octavian.purdila@...el.com>
Date: Sun, 8 Jun 2014 01:19:29 +0300
> There are several instances where a __pskb_copy is immediately
> followed by an skb_clone. Add a new parameter to __pskb_copy to allow
> the skb to be allocated from the fclone cache and thus speed up
> subsequent skb_clone calls.
>
> Signed-off-by: Octavian Purdila <octavian.purdila@...el.com>
These SKB_ALLOC_* values are really internal, let's not use them explicitly
outside of skbuff.h and skbuff.c
Change this interface to instead take a boolean, which when true will
cause and fclone allocation.
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists