Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111664374
D12536.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
711 B
Referenced Files
None
Subscribers
None
D12536.diff
View Options
Index: head/sys/arm/allwinner/if_awg.c
===================================================================
--- head/sys/arm/allwinner/if_awg.c
+++ head/sys/arm/allwinner/if_awg.c
@@ -1041,10 +1041,10 @@
if_togglecapenable(ifp, IFCAP_RXCSUM);
if (mask & IFCAP_TXCSUM)
if_togglecapenable(ifp, IFCAP_TXCSUM);
- if ((if_getcapenable(ifp) & (IFCAP_RXCSUM|IFCAP_TXCSUM)) != 0)
- if_sethwassistbits(ifp, CSUM_IP, 0);
+ if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0)
+ if_sethwassistbits(ifp, CSUM_IP | CSUM_UDP | CSUM_TCP, 0);
else
- if_sethwassistbits(ifp, 0, CSUM_IP);
+ if_sethwassistbits(ifp, 0, CSUM_IP | CSUM_UDP | CSUM_TCP);
break;
default:
error = ether_ioctl(ifp, cmd, data);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 5:30 PM (20 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17035858
Default Alt Text
D12536.diff (711 B)
Attached To
Mode
D12536: Disable/Enable CSUM_UDP and CSUM_TCP along with CSUM_IP for if_awg
Attached
Detach File
Event Timeline
Log In to Comment