Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A 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/tools/testing/selftests/net/
H 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()
H A Dtxring_overwrite.c108 req.tp_frame_nr = 1; in setup_tx()
H A 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()
H A Dpsock_fanout.c224 .tp_frame_nr = RING_NUM_FRAMES, in sock_fanout_open_ring()
/linux/Documentation/networking/
H A 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/net/packet/
H A Daf_packet.c4535 req->tp_frame_nr)) in packet_set_ring()
4561 rx_owner_map = bitmap_alloc(req->tp_frame_nr, in packet_set_ring()
4572 if (unlikely(req->tp_frame_nr)) in packet_set_ring()
4597 rb->frame_max = (req->tp_frame_nr - 1); in packet_set_ring()