Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146268880
D6320.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6320.id.diff
View Options
Index: head/sys/dev/mxge/if_mxge.c
===================================================================
--- head/sys/dev/mxge/if_mxge.c
+++ head/sys/dev/mxge/if_mxge.c
@@ -2702,8 +2702,12 @@
if (eh->ether_type == htons(ETHERTYPE_VLAN)) {
mxge_vlan_tag_remove(m, &csum);
}
+ /* flowid only valid if RSS hashing is enabled */
+ if (sc->num_slices > 1) {
+ m->m_pkthdr.flowid = (ss - sc->ss);
+ M_HASHTYPE_SET(m, M_HASHTYPE_OPAQUE);
+ }
/* if the checksum is valid, mark it in the mbuf header */
-
if ((ifp->if_capenable & (IFCAP_RXCSUM_IPV6 | IFCAP_RXCSUM)) &&
(0 == mxge_rx_csum(m, csum))) {
/* Tell the stack that the checksum is good */
@@ -2716,11 +2720,6 @@
return;
#endif
}
- /* flowid only valid if RSS hashing is enabled */
- if (sc->num_slices > 1) {
- m->m_pkthdr.flowid = (ss - sc->ss);
- M_HASHTYPE_SET(m, M_HASHTYPE_OPAQUE);
- }
/* pass the frame up the stack */
(*ifp->if_input)(ifp, m);
}
@@ -2771,6 +2770,11 @@
if (eh->ether_type == htons(ETHERTYPE_VLAN)) {
mxge_vlan_tag_remove(m, &csum);
}
+ /* flowid only valid if RSS hashing is enabled */
+ if (sc->num_slices > 1) {
+ m->m_pkthdr.flowid = (ss - sc->ss);
+ M_HASHTYPE_SET(m, M_HASHTYPE_OPAQUE);
+ }
/* if the checksum is valid, mark it in the mbuf header */
if ((ifp->if_capenable & (IFCAP_RXCSUM_IPV6 | IFCAP_RXCSUM)) &&
(0 == mxge_rx_csum(m, csum))) {
@@ -2784,11 +2788,6 @@
return;
#endif
}
- /* flowid only valid if RSS hashing is enabled */
- if (sc->num_slices > 1) {
- m->m_pkthdr.flowid = (ss - sc->ss);
- M_HASHTYPE_SET(m, M_HASHTYPE_OPAQUE);
- }
/* pass the frame up the stack */
(*ifp->if_input)(ifp, m);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 2, 6:40 AM (2 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29146456
Default Alt Text
D6320.id.diff (1 KB)
Attached To
Mode
D6320: mxge: Setup mbuf flowid before calling tcp_lro_rx().
Attached
Detach File
Event Timeline
Log In to Comment