diff options
author | Vakul Garg <vakul.garg@nxp.com> | 2018-06-30 00:45:55 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 21:25:39 +0900 |
commit | 4e485d06bb8c7811a0d69a811c77befd54b9ab0c (patch) | |
tree | 83739c15a00c922f1b44e901cef4db7423302e0a /arch/arm64 | |
parent | 180390c470e1b6e3e19b4f969524182eeb5e4e6c (diff) | |
download | linux-4e485d06bb8c7811a0d69a811c77befd54b9ab0c.tar.bz2 |
strparser: Call skb_unclone conditionally
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 <vakul.garg@nxp.com>
Suggested-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions