Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dif_packet.h260 unsigned int tp_frame_size; /* Size of frame */ member
267 unsigned int tp_frame_size; /* Size of frame */ member
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c592 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()
596 ring->req.tp_frame_size * in __v1_v2_fill()
602 ring->flen = ring->req.tp_frame_size; in __v1_v2_fill()
612 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
616 ring->req3.tp_frame_size * in __v3_fill()
Dpsock_fanout.c98 .tp_frame_size = getpagesize(), in sock_fanout_open_ring()
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt210 unsigned int tp_frame_size; /* Size of frame */
220 region of memory and holds tp_block_size/tp_frame_size frames. The total number
223 frames_per_block = tp_block_size/tp_frame_size
232 tp_frame_size= 2048
398 tp_frame_size must be greater than TPACKET_HDRLEN (obvious)
399 tp_frame_size must be a multiple of TPACKET_ALIGNMENT
416 If tp_frame_size is a divisor of tp_block_size frames will be
417 contiguously spaced by tp_frame_size bytes. If not, each
418 tp_block_size/tp_frame_size frames there will be a gap between
450 larger than tp_frame_size. This packet can be
[all …]
/linux-4.1.27/net/packet/
Daf_packet.c3870 if (unlikely(req->tp_frame_size < po->tp_hdrlen + in packet_set_ring()
3873 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()
3876 rb->frames_per_block = req->tp_block_size/req->tp_frame_size; in packet_set_ring()
3929 rb->frame_size = req->tp_frame_size; in packet_set_ring()