Searched refs:NAPI_GRO_CB (Results 1 – 20 of 20) sorted by relevance
213 NAPI_GRO_CB(skb)->proto = proto; in ipv6_gro_receive()222 if (!NAPI_GRO_CB(p)->same_flow) in ipv6_gro_receive()237 NAPI_GRO_CB(p)->same_flow = 0; in ipv6_gro_receive()241 NAPI_GRO_CB(p)->flush |= !!(first_word & htonl(0x0FF00000)); in ipv6_gro_receive()242 NAPI_GRO_CB(p)->flush |= flush; in ipv6_gro_receive()247 if (NAPI_GRO_CB(skb)->is_atomic) in ipv6_gro_receive()248 NAPI_GRO_CB(p)->flush_id = 0; in ipv6_gro_receive()251 NAPI_GRO_CB(skb)->is_atomic = true; in ipv6_gro_receive()252 NAPI_GRO_CB(skb)->flush |= flush; in ipv6_gro_receive()272 if (NAPI_GRO_CB(skb)->encap_mark) { in sit_ip6ip6_gro_receive()[all …]
22 if (!NAPI_GRO_CB(skb)->flush && in tcp6_gro_receive()25 NAPI_GRO_CB(skb)->flush = 1; in tcp6_gro_receive()
126 if (NAPI_GRO_CB(skb)->flush) in udp6_gro_receive()137 NAPI_GRO_CB(skb)->is_ipv6 = 1; in udp6_gro_receive()141 NAPI_GRO_CB(skb)->flush = 1; in udp6_gro_receive()
113 NAPI_GRO_CB(skb)->same_flow = 0; in esp6_gro_receive()114 NAPI_GRO_CB(skb)->flush = 1; in esp6_gro_receive()
224 if (!NAPI_GRO_CB(p)->same_flow) in tcp_gro_receive()230 NAPI_GRO_CB(p)->same_flow = 0; in tcp_gro_receive()241 flush = NAPI_GRO_CB(p)->flush; in tcp_gro_receive()254 if (NAPI_GRO_CB(p)->flush_id != 1 || in tcp_gro_receive()255 NAPI_GRO_CB(p)->count != 1 || in tcp_gro_receive()256 !NAPI_GRO_CB(p)->is_atomic) in tcp_gro_receive()257 flush |= NAPI_GRO_CB(p)->flush_id; in tcp_gro_receive()259 NAPI_GRO_CB(p)->is_atomic = false; in tcp_gro_receive()282 if (p && (!NAPI_GRO_CB(skb)->same_flow || flush)) in tcp_gro_receive()286 NAPI_GRO_CB(skb)->flush |= (flush != 0); in tcp_gro_receive()[all …]
123 if (NAPI_GRO_CB(skb)->encap_mark) in gre_gro_receive()126 NAPI_GRO_CB(skb)->encap_mark = 1; in gre_gro_receive()151 if ((greh->flags & GRE_CSUM) && NAPI_GRO_CB(skb)->is_fou) in gre_gro_receive()177 if ((greh->flags & GRE_CSUM) && !NAPI_GRO_CB(skb)->flush) { in gre_gro_receive()188 if (!NAPI_GRO_CB(p)->same_flow) in gre_gro_receive()203 NAPI_GRO_CB(p)->same_flow = 0; in gre_gro_receive()209 NAPI_GRO_CB(p)->same_flow = 0; in gre_gro_receive()
356 if (NAPI_GRO_CB(skb)->encap_mark || in udp_gro_receive()358 NAPI_GRO_CB(skb)->csum_cnt == 0 && in udp_gro_receive()359 !NAPI_GRO_CB(skb)->csum_valid)) in udp_gro_receive()363 NAPI_GRO_CB(skb)->encap_mark = 1; in udp_gro_receive()376 if (!NAPI_GRO_CB(p)->same_flow) in udp_gro_receive()386 NAPI_GRO_CB(p)->same_flow = 0; in udp_gro_receive()412 if (NAPI_GRO_CB(skb)->flush) in udp4_gro_receive()422 NAPI_GRO_CB(skb)->is_ipv6 = 0; in udp4_gro_receive()426 NAPI_GRO_CB(skb)->flush = 1; in udp4_gro_receive()
242 NAPI_GRO_CB(skb)->encap_mark = 0; in fou_gro_receive()245 NAPI_GRO_CB(skb)->is_fou = 1; in fou_gro_receive()248 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_receive()270 offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; in fou_gro_complete()297 if (!NAPI_GRO_CB(skb)->csum_valid) in gue_gro_remcsum()403 if (!NAPI_GRO_CB(p)->same_flow) in gue_gro_receive()412 NAPI_GRO_CB(p)->same_flow = 0; in gue_gro_receive()419 NAPI_GRO_CB(p)->same_flow = 0; in gue_gro_receive()434 NAPI_GRO_CB(skb)->encap_mark = 0; in gue_gro_receive()437 NAPI_GRO_CB(skb)->is_fou = 1; in gue_gro_receive()[all …]
1433 if (!NAPI_GRO_CB(p)->same_flow) in inet_gro_receive()1445 NAPI_GRO_CB(p)->same_flow = 0; in inet_gro_receive()1450 NAPI_GRO_CB(p)->flush |= in inet_gro_receive()1455 NAPI_GRO_CB(p)->flush |= flush; in inet_gro_receive()1469 if (!NAPI_GRO_CB(p)->is_atomic || in inet_gro_receive()1471 flush_id ^= NAPI_GRO_CB(p)->count; in inet_gro_receive()1478 if (NAPI_GRO_CB(skb)->is_atomic) in inet_gro_receive()1479 NAPI_GRO_CB(p)->flush_id = flush_id; in inet_gro_receive()1481 NAPI_GRO_CB(p)->flush_id |= flush_id; in inet_gro_receive()1484 NAPI_GRO_CB(skb)->is_atomic = !!(iph->frag_off & htons(IP_DF)); in inet_gro_receive()[all …]
86 NAPI_GRO_CB(skb)->same_flow = 0; in esp4_gro_receive()87 NAPI_GRO_CB(skb)->flush = 1; in esp4_gro_receive()
2285 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) macro2290 return ++NAPI_GRO_CB(skb)->recursion_counter == GRO_RECURSION_LIMIT; in gro_recursion_inc_test()2299 NAPI_GRO_CB(skb)->flush |= 1;2314 NAPI_GRO_CB(skb)->flush |= 1;2626 return NAPI_GRO_CB(skb)->data_offset; in skb_gro_offset()2631 return skb->len - NAPI_GRO_CB(skb)->data_offset; in skb_gro_len()2636 NAPI_GRO_CB(skb)->data_offset += len; in skb_gro_pull()2642 return NAPI_GRO_CB(skb)->frag0 + offset; in skb_gro_header_fast()2647 return NAPI_GRO_CB(skb)->frag0_len < hlen; in skb_gro_header_hard()2652 NAPI_GRO_CB(skb)->frag0 = NULL; in skb_gro_frag0_invalidate()[all …]
5283 if (NAPI_GRO_CB(skb)->count == 1) { in napi_gro_complete()5315 if (flush_old && NAPI_GRO_CB(skb)->age == jiffies) in __napi_gro_flush_chain()5354 NAPI_GRO_CB(p)->flush = 0; in gro_list_prepare()5357 NAPI_GRO_CB(p)->same_flow = 0; in gro_list_prepare()5372 NAPI_GRO_CB(p)->same_flow = !diffs; in gro_list_prepare()5383 NAPI_GRO_CB(skb)->data_offset = 0; in skb_gro_reset_offset()5384 NAPI_GRO_CB(skb)->frag0 = NULL; in skb_gro_reset_offset()5385 NAPI_GRO_CB(skb)->frag0_len = 0; in skb_gro_reset_offset()5390 NAPI_GRO_CB(skb)->frag0 = skb_frag_address(frag0); in skb_gro_reset_offset()5391 NAPI_GRO_CB(skb)->frag0_len = min_t(unsigned int, in skb_gro_reset_offset()[all …]
3834 lp = NAPI_GRO_CB(p)->last; in skb_gro_receive()3867 NAPI_GRO_CB(skb)->free = NAPI_GRO_FREE; in skb_gro_receive()3893 NAPI_GRO_CB(skb)->free = NAPI_GRO_FREE_STOLEN_HEAD; in skb_gro_receive()3911 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive()3914 NAPI_GRO_CB(p)->last->next = skb; in skb_gro_receive()3915 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive()3920 NAPI_GRO_CB(p)->count++; in skb_gro_receive()3929 NAPI_GRO_CB(skb)->same_flow = 1; in skb_gro_receive()
452 if (!NAPI_GRO_CB(p)->same_flow) in eth_gro_receive()457 NAPI_GRO_CB(p)->same_flow = 0; in eth_gro_receive()
682 if (!NAPI_GRO_CB(p)->same_flow) in vlan_gro_receive()687 NAPI_GRO_CB(p)->same_flow = 0; in vlan_gro_receive()
455 if (!NAPI_GRO_CB(p)->same_flow) in geneve_gro_receive()461 NAPI_GRO_CB(p)->same_flow = 0; in geneve_gro_receive()
557 if (!NAPI_GRO_CB(skb)->csum_valid) in vxlan_gro_remcsum()612 if (!NAPI_GRO_CB(p)->same_flow) in vxlan_gro_receive()618 NAPI_GRO_CB(p)->same_flow = 0; in vxlan_gro_receive()
998 NAPI_GRO_CB(skb)->count = le16_to_cpu(cqe->num_of_coalesced_segs); in qede_tpa_end()
541 NAPI_GRO_CB(skb)->count = num_of_coalesced_segs; in bnx2x_set_gro_params()
1316 NAPI_GRO_CB(skb)->count = segs; in bnxt_gro_skb()