Home
last modified time | relevance | path

Searched refs:curr_frag_len (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/emulex/benet/
Dbe_main.c2327 u16 hdr_len, curr_frag_len, remaining; in skb_fill_rx_data() local
2335 curr_frag_len = min(rxcp->pkt_size, rx_frag_size); in skb_fill_rx_data()
2337 skb->len = curr_frag_len; in skb_fill_rx_data()
2338 if (curr_frag_len <= BE_HDR_LEN) { /* tiny packet */ in skb_fill_rx_data()
2339 memcpy(skb->data, start, curr_frag_len); in skb_fill_rx_data()
2343 skb->tail += curr_frag_len; in skb_fill_rx_data()
2352 curr_frag_len - hdr_len); in skb_fill_rx_data()
2353 skb->data_len = curr_frag_len - hdr_len; in skb_fill_rx_data()
2365 remaining = rxcp->pkt_size - curr_frag_len; in skb_fill_rx_data()
2368 curr_frag_len = min(remaining, rx_frag_size); in skb_fill_rx_data()
[all …]