Searched refs:NAPI_GRO_CB (Results 1 – 15 of 15) sorted by relevance
302 if (NAPI_GRO_CB(skb)->udp_mark || in udp_gro_receive()304 NAPI_GRO_CB(skb)->csum_cnt == 0 && in udp_gro_receive()305 !NAPI_GRO_CB(skb)->csum_valid)) in udp_gro_receive()309 NAPI_GRO_CB(skb)->udp_mark = 1; in udp_gro_receive()324 if (!NAPI_GRO_CB(p)->same_flow) in udp_gro_receive()334 NAPI_GRO_CB(p)->same_flow = 0; in udp_gro_receive()341 NAPI_GRO_CB(skb)->proto = uo_priv->offload->ipproto; in udp_gro_receive()348 NAPI_GRO_CB(skb)->flush |= flush; in udp_gro_receive()361 if (NAPI_GRO_CB(skb)->flush) in udp4_gro_receive()371 NAPI_GRO_CB(skb)->is_ipv6 = 0; in udp4_gro_receive()[all …]
219 if (!NAPI_GRO_CB(p)->same_flow) in tcp_gro_receive()225 NAPI_GRO_CB(p)->same_flow = 0; in tcp_gro_receive()236 flush = NAPI_GRO_CB(p)->flush | NAPI_GRO_CB(p)->flush_id; in tcp_gro_receive()265 if (p && (!NAPI_GRO_CB(skb)->same_flow || flush)) in tcp_gro_receive()269 NAPI_GRO_CB(skb)->flush |= (flush != 0); in tcp_gro_receive()282 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp_gro_complete()294 if (!NAPI_GRO_CB(skb)->flush && in tcp4_gro_receive()297 NAPI_GRO_CB(skb)->flush = 1; in tcp4_gro_receive()
172 if ((greh->flags & GRE_CSUM) && !NAPI_GRO_CB(skb)->flush) { in gre_gro_receive()185 if (!NAPI_GRO_CB(p)->same_flow) in gre_gro_receive()200 NAPI_GRO_CB(p)->same_flow = 0; in gre_gro_receive()206 NAPI_GRO_CB(p)->same_flow = 0; in gre_gro_receive()222 NAPI_GRO_CB(skb)->flush |= flush; in gre_gro_receive()
182 u8 proto = NAPI_GRO_CB(skb)->proto; in fou_gro_receive()186 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_receive()203 u8 proto = NAPI_GRO_CB(skb)->proto; in fou_gro_complete()210 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_complete()236 if (!NAPI_GRO_CB(skb)->csum_valid) in gue_gro_remcsum()331 if (!NAPI_GRO_CB(p)->same_flow) in gue_gro_receive()340 NAPI_GRO_CB(p)->same_flow = 0; in gue_gro_receive()347 NAPI_GRO_CB(p)->same_flow = 0; in gue_gro_receive()353 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in gue_gro_receive()363 NAPI_GRO_CB(skb)->flush |= flush; in gue_gro_receive()[all …]
184 if (!NAPI_GRO_CB(p)->same_flow) in geneve_gro_receive()190 NAPI_GRO_CB(p)->same_flow = 0; in geneve_gro_receive()211 NAPI_GRO_CB(skb)->flush |= flush; in geneve_gro_receive()
1336 if (!NAPI_GRO_CB(p)->same_flow) in inet_gro_receive()1348 NAPI_GRO_CB(p)->same_flow = 0; in inet_gro_receive()1353 NAPI_GRO_CB(p)->flush |= in inet_gro_receive()1363 NAPI_GRO_CB(p)->flush_id = in inet_gro_receive()1364 ((u16)(ntohs(iph2->id) + NAPI_GRO_CB(p)->count) ^ id); in inet_gro_receive()1365 NAPI_GRO_CB(p)->flush |= flush; in inet_gro_receive()1368 NAPI_GRO_CB(skb)->flush |= flush; in inet_gro_receive()1386 NAPI_GRO_CB(skb)->flush |= flush; in inet_gro_receive()
211 NAPI_GRO_CB(skb)->proto = proto; in ipv6_gro_receive()220 if (!NAPI_GRO_CB(p)->same_flow) in ipv6_gro_receive()235 NAPI_GRO_CB(p)->same_flow = 0; in ipv6_gro_receive()239 NAPI_GRO_CB(p)->flush |= !!(first_word & htonl(0x0FF00000)); in ipv6_gro_receive()240 NAPI_GRO_CB(p)->flush |= flush; in ipv6_gro_receive()243 NAPI_GRO_CB(p)->flush_id = 0; in ipv6_gro_receive()246 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive()256 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive()
22 if (!NAPI_GRO_CB(skb)->flush && in tcp6_gro_receive()25 NAPI_GRO_CB(skb)->flush = 1; in tcp6_gro_receive()
138 if (NAPI_GRO_CB(skb)->flush) in udp6_gro_receive()149 NAPI_GRO_CB(skb)->is_ipv6 = 1; in udp6_gro_receive()153 NAPI_GRO_CB(skb)->flush = 1; in udp6_gro_receive()
1968 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) macro2210 return NAPI_GRO_CB(skb)->data_offset; in skb_gro_offset()2215 return skb->len - NAPI_GRO_CB(skb)->data_offset; in skb_gro_len()2220 NAPI_GRO_CB(skb)->data_offset += len; in skb_gro_pull()2226 return NAPI_GRO_CB(skb)->frag0 + offset; in skb_gro_header_fast()2231 return NAPI_GRO_CB(skb)->frag0_len < hlen; in skb_gro_header_hard()2240 NAPI_GRO_CB(skb)->frag0 = NULL; in skb_gro_header_slow()2241 NAPI_GRO_CB(skb)->frag0_len = 0; in skb_gro_header_slow()2247 return (NAPI_GRO_CB(skb)->frag0 ?: skb->data) + in skb_gro_network_header()2254 if (NAPI_GRO_CB(skb)->csum_valid) in skb_gro_postpull_rcsum()[all …]
416 if (!NAPI_GRO_CB(p)->same_flow) in eth_gro_receive()421 NAPI_GRO_CB(p)->same_flow = 0; in eth_gro_receive()442 NAPI_GRO_CB(skb)->flush |= flush; in eth_gro_receive()
3913 if (NAPI_GRO_CB(skb)->count == 1) { in napi_gro_complete()3955 if (flush_old && NAPI_GRO_CB(skb)->age == jiffies) in napi_gro_flush()3976 NAPI_GRO_CB(p)->flush = 0; in gro_list_prepare()3979 NAPI_GRO_CB(p)->same_flow = 0; in gro_list_prepare()3992 NAPI_GRO_CB(p)->same_flow = !diffs; in gro_list_prepare()4001 NAPI_GRO_CB(skb)->data_offset = 0; in skb_gro_reset_offset()4002 NAPI_GRO_CB(skb)->frag0 = NULL; in skb_gro_reset_offset()4003 NAPI_GRO_CB(skb)->frag0_len = 0; in skb_gro_reset_offset()4008 NAPI_GRO_CB(skb)->frag0 = skb_frag_address(frag0); in skb_gro_reset_offset()4009 NAPI_GRO_CB(skb)->frag0_len = skb_frag_size(frag0); in skb_gro_reset_offset()[all …]
3237 lp = NAPI_GRO_CB(p)->last; in skb_gro_receive()3270 NAPI_GRO_CB(skb)->free = NAPI_GRO_FREE; in skb_gro_receive()3296 NAPI_GRO_CB(skb)->free = NAPI_GRO_FREE_STOLEN_HEAD; in skb_gro_receive()3314 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive()3317 NAPI_GRO_CB(p)->last->next = skb; in skb_gro_receive()3318 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive()3323 NAPI_GRO_CB(p)->count++; in skb_gro_receive()3332 NAPI_GRO_CB(skb)->same_flow = 1; in skb_gro_receive()
560 if (!NAPI_GRO_CB(skb)->csum_valid) in vxlan_gro_remcsum()627 if (!NAPI_GRO_CB(p)->same_flow) in vxlan_gro_receive()633 NAPI_GRO_CB(p)->same_flow = 0; in vxlan_gro_receive()642 NAPI_GRO_CB(skb)->flush |= flush; in vxlan_gro_receive()
541 NAPI_GRO_CB(skb)->count = num_of_coalesced_segs; in bnx2x_set_gro_params()