Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Dif_packet.h279 unsigned int tp_frame_nr; /* Total number of frames */ member
286 unsigned int tp_frame_nr; /* Total number of frames */ member
/linux-6.12.1/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.12.1/Documentation/networking/
Dpacket_mmap.rst208 unsigned int tp_frame_nr; /* Total number of frames */
218 of blocks is tp_block_nr. Note that tp_frame_nr is a redundant parameter because::
224 frames_per_block * tp_block_nr == tp_frame_nr
231 tp_frame_nr = 8
398 - tp_frame_nr must be exactly frames_per_block*tp_block_nr
849 ring->req.tp_frame_nr = (blocksiz * blocknum) / framesiz;
/linux-6.12.1/net/packet/
Daf_packet.c4534 req->tp_frame_nr)) in packet_set_ring()
4560 rx_owner_map = bitmap_alloc(req->tp_frame_nr, in packet_set_ring()
4571 if (unlikely(req->tp_frame_nr)) in packet_set_ring()
4596 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()