Searched refs:tp_frame_size (Results 1 – 7 of 7) sorted by relevance
363 return f0 + (n * ring->req3.tp_frame_size); in get_next_frame()633 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()637 ring->req.tp_frame_size * in __v1_v2_fill()643 ring->flen = ring->req.tp_frame_size; in __v1_v2_fill()654 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()658 ring->req3.tp_frame_size * in __v3_fill()
107 req.tp_frame_size = getpagesize(); in setup_tx()
265 req3.tp_frame_size = 2048; in setup_ring()269 req3.tp_block_size = req3.tp_frame_size * req3.tp_frame_nr; in setup_ring()
194 .tp_frame_size = getpagesize(), in sock_fanout_open_ring()
277 unsigned int tp_frame_size; /* Size of frame */ member284 unsigned int tp_frame_size; /* Size of frame */ member
206 unsigned int tp_frame_size; /* Size of frame */216 region of memory and holds tp_block_size/tp_frame_size frames. The total number219 frames_per_block = tp_block_size/tp_frame_size228 tp_frame_size= 2048395 - tp_frame_size must be greater than TPACKET_HDRLEN (obvious)396 - tp_frame_size must be a multiple of TPACKET_ALIGNMENT412 If tp_frame_size is a divisor of tp_block_size frames will be413 contiguously spaced by tp_frame_size bytes. If not, each414 tp_block_size/tp_frame_size frames there will be a gap between449 larger than tp_frame_size. This packet can be[all …]
4444 if (unlikely(req->tp_frame_size < min_frame_size)) in packet_set_ring()4446 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()4449 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()4519 rb->frame_size = req->tp_frame_size; in packet_set_ring()