Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dif_packet.h271 unsigned int tp_frame_nr; /* Total number of frames */ member
278 unsigned int tp_frame_nr; /* Total number of frames */ member
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c595 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill()
601 ring->rd_num = ring->req.tp_frame_nr; in __v1_v2_fill()
615 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
Dpsock_fanout.c149 .tp_frame_nr = RING_NUM_FRAMES, in sock_fanout_open_ring()
/linux-4.4.14/Documentation/networking/
Dpacket_mmap.txt211 unsigned int tp_frame_nr; /* Total number of frames */
221 of blocks is tp_block_nr. Note that tp_frame_nr is a redundant parameter because
227 frames_per_block * tp_block_nr == tp_frame_nr
234 tp_frame_nr = 8
400 tp_frame_nr must be exactly frames_per_block*tp_block_nr
830 ring->req.tp_frame_nr = (blocksiz * blocknum) / framesiz;
/linux-4.4.14/net/packet/
Daf_packet.c4124 req->tp_frame_nr)) in packet_set_ring()
4147 if (unlikely(req->tp_frame_nr)) in packet_set_ring()
4171 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()