Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/
Dvirtio_net.c36 #define GOOD_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN) macro
1143 buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + in receive_small_build_skb()
1180 buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + in receive_small_xdp()
1191 buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + in receive_small_xdp()
1258 if (unlikely(len > GOOD_PACKET_LEN)) { in receive_small()
1260 dev->name, len, GOOD_PACKET_LEN); in receive_small()
1821 int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; in add_recvbuf_small()
1832 vi->hdr_len + GOOD_PACKET_LEN); in add_recvbuf_small()
4054 (unsigned int)GOOD_PACKET_LEN); in mergeable_min_buf_len()