Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
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()
/linux-6.6.21/net/core/
Dskbuff.c2553 struct sk_buff *nfrag; in ___pskb_trim() local
2555 nfrag = skb_clone(frag, GFP_ATOMIC); in ___pskb_trim()
2556 if (unlikely(!nfrag)) in ___pskb_trim()
2559 nfrag->next = frag->next; in ___pskb_trim()
2561 frag = nfrag; in ___pskb_trim()
/linux-6.6.21/drivers/net/
Dxen-netfront.c1166 skb_frag_t *nfrag = &skb_shinfo(nskb)->frags[0]; in xennet_fill_frags() local
1184 skb_frag_page(nfrag), in xennet_fill_frags()