Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c65 #define HNS3_SGL_SIZE(nfrag) (sizeof(struct scatterlist) * (nfrag) + \ argument
2205 u32 nfrag = skb_shinfo(skb)->nr_frags + 1; in hns3_handle_tx_sgl() local
2213 nfrag = HNS3_MAX_TSO_BD_NUM; in hns3_handle_tx_sgl()
2218 sgt = hns3_tx_spare_alloc(ring, HNS3_SGL_SIZE(nfrag), in hns3_handle_tx_sgl()
2223 sg_init_table(sgt->sgl, nfrag); in hns3_handle_tx_sgl()
/openbmc/linux/net/core/
H A Dskbuff.c2564 struct sk_buff *nfrag; in ___pskb_trim() local
2566 nfrag = skb_clone(frag, GFP_ATOMIC); in ___pskb_trim()
2567 if (unlikely(!nfrag)) in ___pskb_trim()
2570 nfrag->next = frag->next; in ___pskb_trim()
2572 frag = nfrag; in ___pskb_trim()
/openbmc/linux/drivers/net/
H A Dxen-netfront.c1170 skb_frag_t *nfrag = &skb_shinfo(nskb)->frags[0]; in xennet_fill_frags() local
1188 skb_frag_page(nfrag), in xennet_fill_frags()