Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147421747
D26582.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
708 B
Referenced Files
None
Subscribers
None
D26582.id.diff
View Options
Index: head/sys/dev/cxgbe/crypto/t4_crypto.c
===================================================================
--- head/sys/dev/cxgbe/crypto/t4_crypto.c
+++ head/sys/dev/cxgbe/crypto/t4_crypto.c
@@ -2777,7 +2777,7 @@
return (0);
}
error = ccr_gcm(sc, s, crp);
- if (error == EMSGSIZE) {
+ if (error == EMSGSIZE || error == EFBIG) {
counter_u64_add(sc->stats_sw_fallback, 1);
mtx_unlock(&s->lock);
ccr_gcm_soft(s, crp);
@@ -2796,7 +2796,7 @@
csp->csp_cipher_klen);
}
error = ccr_ccm(sc, s, crp);
- if (error == EMSGSIZE) {
+ if (error == EMSGSIZE || error == EFBIG) {
counter_u64_add(sc->stats_sw_fallback, 1);
mtx_unlock(&s->lock);
ccr_ccm_soft(s, crp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 11, 8:49 PM (4 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29550644
Default Alt Text
D26582.id.diff (708 B)
Attached To
Mode
D26582: Fallback to software for more GCM and CCM requests.
Attached
Detach File
Event Timeline
Log In to Comment