Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/
Dvirtio_net.c35 #define GOOD_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN) macro
783 unsigned int buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + in receive_small()
794 if (unlikely(len > GOOD_PACKET_LEN)) { in receive_small()
796 dev->name, len, GOOD_PACKET_LEN); in receive_small()
826 buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + in receive_small()
1311 int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; in add_recvbuf_small()
1323 vi->hdr_len + GOOD_PACKET_LEN); in add_recvbuf_small()
3435 (unsigned int)GOOD_PACKET_LEN); in mergeable_min_buf_len()