projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da66b7
)
crypto: chelsio - Inline single pdu only
author
Atul Gupta
<atul.gupta@chelsio.com>
Thu, 17 Jan 2019 17:19:19 +0000
(09:19 -0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 25 Jan 2019 10:41:51 +0000
(18:41 +0800)
Inline single pdu else take co-pro path
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_ipsec.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/chelsio/chcr_ipsec.c
b/drivers/crypto/chelsio/chcr_ipsec.c
index 4f2464654519ccfb515fe4d331f18b2222d73ea9..0c826d0e1bfcf0fe3c7a700f7ea72d7933e1dd4f 100644
(file)
--- a/
drivers/crypto/chelsio/chcr_ipsec.c
+++ b/
drivers/crypto/chelsio/chcr_ipsec.c
@@
-303,6
+303,9
@@
static bool chcr_ipsec_offload_ok(struct sk_buff *skb, struct xfrm_state *x)
if (ipv6_ext_hdr(ipv6_hdr(skb)->nexthdr))
return false;
}
+ /* Inline single pdu */
+ if (skb_shinfo(skb)->gso_size)
+ return false;
return true;
}