Lines Matching refs:NAPI_GRO_CB

115 		     NAPI_GRO_CB(skb)->flush))  in skb_gro_receive()
119 if (NAPI_GRO_CB(skb)->proto != IPPROTO_TCP || in skb_gro_receive()
126 segs = NAPI_GRO_CB(skb)->count; in skb_gro_receive()
127 lp = NAPI_GRO_CB(p)->last; in skb_gro_receive()
160 NAPI_GRO_CB(skb)->free = NAPI_GRO_FREE; in skb_gro_receive()
186 NAPI_GRO_CB(skb)->free = NAPI_GRO_FREE_STOLEN_HEAD; in skb_gro_receive()
207 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive()
210 NAPI_GRO_CB(p)->last->next = skb; in skb_gro_receive()
211 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive()
216 NAPI_GRO_CB(p)->count += segs; in skb_gro_receive()
225 NAPI_GRO_CB(skb)->same_flow = 1; in skb_gro_receive()
234 if (NAPI_GRO_CB(p)->last == p) in skb_gro_receive_list()
237 NAPI_GRO_CB(p)->last->next = skb; in skb_gro_receive_list()
241 NAPI_GRO_CB(p)->last = skb; in skb_gro_receive_list()
242 NAPI_GRO_CB(p)->count++; in skb_gro_receive_list()
251 NAPI_GRO_CB(skb)->same_flow = 1; in skb_gro_receive_list()
266 if (NAPI_GRO_CB(skb)->count == 1) { in napi_gro_complete()
290 gro_normal_one(napi, skb, NAPI_GRO_CB(skb)->count); in napi_gro_complete()
300 if (flush_old && NAPI_GRO_CB(skb)->age == jiffies) in __napi_gro_flush_chain()
357 NAPI_GRO_CB(p)->same_flow = 0; in gro_list_prepare()
385 NAPI_GRO_CB(p)->same_flow = !diffs; in gro_list_prepare()
395 NAPI_GRO_CB(skb)->network_offset = 0; in skb_gro_reset_offset()
396 NAPI_GRO_CB(skb)->data_offset = 0; in skb_gro_reset_offset()
398 NAPI_GRO_CB(skb)->frag0 = skb->data; in skb_gro_reset_offset()
399 NAPI_GRO_CB(skb)->frag0_len = headlen; in skb_gro_reset_offset()
409 NAPI_GRO_CB(skb)->frag0 = skb_frag_address(frag0); in skb_gro_reset_offset()
410 NAPI_GRO_CB(skb)->frag0_len = min_t(unsigned int, in skb_gro_reset_offset()
422 memcpy(skb_tail_pointer(skb), NAPI_GRO_CB(skb)->frag0, grow); in gro_pull_from_frag0()
494 *(u32 *)&NAPI_GRO_CB(skb)->zeroed = 0; in dev_gro_receive()
495 NAPI_GRO_CB(skb)->flush = skb_has_frag_list(skb); in dev_gro_receive()
496 NAPI_GRO_CB(skb)->count = 1; in dev_gro_receive()
498 NAPI_GRO_CB(skb)->count = skb_shinfo(skb)->gso_segs; in dev_gro_receive()
502 NAPI_GRO_CB(skb)->flush = 1; in dev_gro_receive()
508 NAPI_GRO_CB(skb)->csum = skb->csum; in dev_gro_receive()
509 NAPI_GRO_CB(skb)->csum_valid = 1; in dev_gro_receive()
512 NAPI_GRO_CB(skb)->csum_cnt = skb->csum_level + 1; in dev_gro_receive()
527 same_flow = NAPI_GRO_CB(skb)->same_flow; in dev_gro_receive()
528 ret = NAPI_GRO_CB(skb)->free ? GRO_MERGED_FREE : GRO_MERGED; in dev_gro_receive()
539 if (NAPI_GRO_CB(skb)->flush) in dev_gro_receive()
549 NAPI_GRO_CB(skb)->age = jiffies; in dev_gro_receive()
550 NAPI_GRO_CB(skb)->last = skb; in dev_gro_receive()
609 if (NAPI_GRO_CB(skb)->free == NAPI_GRO_FREE_STOLEN_HEAD) in napi_skb_finish()
700 if (NAPI_GRO_CB(skb)->free == NAPI_GRO_FREE_STOLEN_HEAD) in napi_frags_finish()
740 if (NAPI_GRO_CB(skb)->frag0 != skb->data) in napi_frags_skb()
743 NAPI_GRO_CB(skb)->frag0 += hlen; in napi_frags_skb()
744 NAPI_GRO_CB(skb)->frag0_len -= hlen; in napi_frags_skb()
783 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum)); in __skb_gro_checksum_complete()
791 NAPI_GRO_CB(skb)->csum = wsum; in __skb_gro_checksum_complete()
792 NAPI_GRO_CB(skb)->csum_valid = 1; in __skb_gro_checksum_complete()