Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c2326 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()
2350 curr_frag_len - hdr_len); in skb_fill_rx_data()
2351 skb->data_len = curr_frag_len - hdr_len; in skb_fill_rx_data()
2363 remaining = rxcp->pkt_size - curr_frag_len; in skb_fill_rx_data()
2366 curr_frag_len = min(remaining, rx_frag_size); in skb_fill_rx_data()
[all …]