Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dif_packet.h270 unsigned int tp_frame_size; /* Size of frame */ member
277 unsigned int tp_frame_size; /* Size of frame */ member
/linux-4.4.14/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.c147 .tp_frame_size = getpagesize(), in sock_fanout_open_ring()
/linux-4.4.14/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.4.14/net/packet/
Daf_packet.c4114 if (unlikely(req->tp_frame_size < po->tp_hdrlen + in packet_set_ring()
4117 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()
4120 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()
4173 rb->frame_size = req->tp_frame_size; in packet_set_ring()