Home
last modified time | relevance | path

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

/linux/net/core/
H A Dnet_test.c149 const int shinfo_size = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in gso_test_func() local
160 skb = build_skb(page_address(page), sizeof(hdr) + tcase->linear_len + shinfo_size); in gso_test_func()
197 frag_size + shinfo_size); in gso_test_func()
/linux/drivers/net/
H A Dvirtio_net.c768 int tailroom, shinfo_size; in page_to_skb() local
786 shinfo_size = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in page_to_skb()
788 if (!NET_IP_ALIGN && len > GOOD_COPY_LEN && tailroom >= shinfo_size) { in page_to_skb()