Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102734173
D38929.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D38929.diff
View Options
diff --git a/sys/dev/ice/ice_iflib_txrx.c b/sys/dev/ice/ice_iflib_txrx.c
--- a/sys/dev/ice/ice_iflib_txrx.c
+++ b/sys/dev/ice/ice_iflib_txrx.c
@@ -341,7 +341,7 @@
/* Get packet type and set checksum flags */
ptype = le16toh(cur->wb.ptype_flex_flags0) &
ICE_RX_FLEX_DESC_PTYPE_M;
- if ((iflib_get_ifp(sc->ctx)->if_capenable & IFCAP_RXCSUM) != 0)
+ if ((if_getcapenable(iflib_get_ifp(sc->ctx)) & IFCAP_RXCSUM) != 0)
ice_rx_checksum(rxq, &ri->iri_csum_flags,
&ri->iri_csum_data, status0, ptype);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 12:27 PM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14677277
Default Alt Text
D38929.diff (511 B)
Attached To
Mode
D38929: ice: Use IfAPI accessor in place of if_capenable reference
Attached
Detach File
Event Timeline
Log In to Comment