Re: [PATCH net-next] strparser: Call skb_unclone conditionally

2018-06-30 Thread David Miller
From: Vakul Garg Date: Sat, 30 Jun 2018 00:45:55 +0530 > Calling skb_unclone() is expensive as it triggers a memcpy operation. > Instead of calling skb_unclone() unconditionally, call it only when skb > has a shared frag_list. This improves tls rx throughout significantly. > > Signed-off-by:

[PATCH net-next] strparser: Call skb_unclone conditionally

2018-06-29 Thread Vakul Garg
Calling skb_unclone() is expensive as it triggers a memcpy operation. Instead of calling skb_unclone() unconditionally, call it only when skb has a shared frag_list. This improves tls rx throughout significantly. Signed-off-by: Vakul Garg Suggested-by: Boris Pismenny ---