Lines Matching refs:curr_frag_len
2326 u16 hdr_len, curr_frag_len, remaining; in skb_fill_rx_data() local
2334 curr_frag_len = min(rxcp->pkt_size, rx_frag_size); in skb_fill_rx_data()
2336 skb->len = curr_frag_len; in skb_fill_rx_data()
2337 if (curr_frag_len <= BE_HDR_LEN) { /* tiny packet */ in skb_fill_rx_data()
2338 memcpy(skb->data, start, curr_frag_len); in skb_fill_rx_data()
2342 skb->tail += curr_frag_len; in skb_fill_rx_data()
2351 curr_frag_len - hdr_len); in skb_fill_rx_data()
2352 skb->data_len = curr_frag_len - hdr_len; in skb_fill_rx_data()
2364 remaining = rxcp->pkt_size - curr_frag_len; in skb_fill_rx_data()
2367 curr_frag_len = min(remaining, rx_frag_size); in skb_fill_rx_data()
2382 skb_frag_size_add(&skb_shinfo(skb)->frags[j], curr_frag_len); in skb_fill_rx_data()
2383 skb->len += curr_frag_len; in skb_fill_rx_data()
2384 skb->data_len += curr_frag_len; in skb_fill_rx_data()
2386 remaining -= curr_frag_len; in skb_fill_rx_data()
2436 u16 remaining, curr_frag_len; in be_rx_compl_process_gro() local
2449 curr_frag_len = min(remaining, rx_frag_size); in be_rx_compl_process_gro()
2462 skb_frag_size_add(&skb_shinfo(skb)->frags[j], curr_frag_len); in be_rx_compl_process_gro()
2464 remaining -= curr_frag_len; in be_rx_compl_process_gro()