Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
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-6.1.9/tools/testing/selftests/net/
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()
Dtxring_overwrite.c108 req.tp_frame_nr = 1; in setup_tx()
Dtoeplitz.c266 req3.tp_frame_nr = 1 << 10; in setup_ring()
269 req3.tp_block_size = req3.tp_frame_size * req3.tp_frame_nr; in setup_ring()
Dpsock_fanout.c196 .tp_frame_nr = RING_NUM_FRAMES, in sock_fanout_open_ring()
/linux-6.1.9/Documentation/networking/
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-6.1.9/net/packet/
Daf_packet.c4426 req->tp_frame_nr)) in packet_set_ring()
4452 rx_owner_map = bitmap_alloc(req->tp_frame_nr, in packet_set_ring()
4463 if (unlikely(req->tp_frame_nr)) in packet_set_ring()
4488 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()