Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Dif_packet.h273 unsigned int tp_frame_nr; /* Total number of frames */ member
280 unsigned int tp_frame_nr; /* Total number of frames */ member
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c404 nframes = ring->req3.tp_frame_nr; in walk_tx()
650 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill()
656 ring->rd_num = ring->req.tp_frame_nr; in __v1_v2_fill()
671 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
Dpsock_fanout.c196 .tp_frame_nr = RING_NUM_FRAMES, in sock_fanout_open_ring()
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt199 unsigned int tp_frame_nr; /* Total number of frames */
209 of blocks is tp_block_nr. Note that tp_frame_nr is a redundant parameter because
215 frames_per_block * tp_block_nr == tp_frame_nr
222 tp_frame_nr = 8
388 tp_frame_nr must be exactly frames_per_block*tp_block_nr
823 ring->req.tp_frame_nr = (blocksiz * blocknum) / framesiz;
/Linux-v4.19/net/packet/
Daf_packet.c4276 req->tp_frame_nr)) in packet_set_ring()
4307 if (unlikely(req->tp_frame_nr)) in packet_set_ring()
4330 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()