Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cxgbe/t4_sge.c
Show First 20 Lines • Show All 2,040 Lines • ▼ Show 20 Lines | #endif | ||||
} | } | ||||
if (cpl->vlan_ex) { | if (cpl->vlan_ex) { | ||||
m0->m_pkthdr.ether_vtag = be16toh(cpl->vlan); | m0->m_pkthdr.ether_vtag = be16toh(cpl->vlan); | ||||
m0->m_flags |= M_VLANTAG; | m0->m_flags |= M_VLANTAG; | ||||
rxq->vlan_extraction++; | rxq->vlan_extraction++; | ||||
} | } | ||||
#ifdef NUMA | |||||
m0->m_pkthdr.numa_domain = ifp->if_numa_domain; | |||||
#endif | |||||
#if defined(INET) || defined(INET6) | #if defined(INET) || defined(INET6) | ||||
if (iq->flags & IQ_LRO_ENABLED) { | if (iq->flags & IQ_LRO_ENABLED) { | ||||
if (sort_before_lro(lro)) { | if (sort_before_lro(lro)) { | ||||
tcp_lro_queue_mbuf(lro, m0); | tcp_lro_queue_mbuf(lro, m0); | ||||
return (0); /* queued for sort, then LRO */ | return (0); /* queued for sort, then LRO */ | ||||
} | } | ||||
if (tcp_lro_rx(lro, m0, 0) == 0) | if (tcp_lro_rx(lro, m0, 0) == 0) | ||||
return (0); /* queued for LRO */ | return (0); /* queued for LRO */ | ||||
▲ Show 20 Lines • Show All 3,995 Lines • Show Last 20 Lines |