Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/emulex/benet/
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()
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()
[all …]