Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
A Dif_packet.h275 unsigned int tp_frame_nr; /* Total number of frames */ member
282 unsigned int tp_frame_nr; /* Total number of frames */ member
/linux/tools/testing/selftests/net/
A Dpsock_tpacket.c390 nframes = ring->req3.tp_frame_nr; in walk_tx()
636 ring->req.tp_frame_nr = ring->req.tp_block_size / in __v1_v2_fill()
642 ring->rd_num = ring->req.tp_frame_nr; in __v1_v2_fill()
657 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
A Dtxring_overwrite.c108 req.tp_frame_nr = 1; in setup_tx()
A Dtoeplitz.c262 req3.tp_frame_nr = 1 << 10; in setup_ring()
265 req3.tp_block_size = req3.tp_frame_size * req3.tp_frame_nr; in setup_ring()
A Dpsock_fanout.c195 .tp_frame_nr = RING_NUM_FRAMES, in sock_fanout_open_ring()
/linux/Documentation/networking/
A Dpacket_mmap.rst207 unsigned int tp_frame_nr; /* Total number of frames */
217 of blocks is tp_block_nr. Note that tp_frame_nr is a redundant parameter because::
223 frames_per_block * tp_block_nr == tp_frame_nr
230 tp_frame_nr = 8
397 - tp_frame_nr must be exactly frames_per_block*tp_block_nr
848 ring->req.tp_frame_nr = (blocksiz * blocknum) / framesiz;
/linux/net/packet/
A Daf_packet.c4402 req->tp_frame_nr)) in packet_set_ring()
4428 rx_owner_map = bitmap_alloc(req->tp_frame_nr, in packet_set_ring()
4439 if (unlikely(req->tp_frame_nr)) in packet_set_ring()
4464 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()

Completed in 18 milliseconds