Home
last modified time | relevance | path

Searched refs:tp_frame_size (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dpsock_tpacket.c363 return f0 + (n * ring->req3.tp_frame_size); in get_next_frame()
633 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()
637 ring->req.tp_frame_size * in __v1_v2_fill()
643 ring->flen = ring->req.tp_frame_size; in __v1_v2_fill()
654 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
658 ring->req3.tp_frame_size * in __v3_fill()
H A Dtxring_overwrite.c107 req.tp_frame_size = getpagesize(); in setup_tx()
H A Dpsock_fanout.c180 .tp_frame_size = getpagesize(), in sock_fanout_open_ring()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_packet.h273 unsigned int tp_frame_size; /* Size of frame */ member
280 unsigned int tp_frame_size; /* Size of frame */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_packet.h273 unsigned int tp_frame_size; /* Size of frame */ member
280 unsigned int tp_frame_size; /* Size of frame */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_packet.h274 unsigned int tp_frame_size; /* Size of frame */ member
281 unsigned int tp_frame_size; /* Size of frame */ member
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dpacket_mmap.rst206 unsigned int tp_frame_size; /* Size of frame */
216 region of memory and holds tp_block_size/tp_frame_size frames. The total number
219 frames_per_block = tp_block_size/tp_frame_size
228 tp_frame_size= 2048
396 - tp_frame_size must be greater than TPACKET_HDRLEN (obvious)
397 - tp_frame_size must be a multiple of TPACKET_ALIGNMENT
413 If tp_frame_size is a divisor of tp_block_size frames will be
414 contiguously spaced by tp_frame_size bytes. If not, each
415 tp_block_size/tp_frame_size frames there will be a gap between
450 larger than tp_frame_size. This packet can be
[all …]
/OK3568_Linux_fs/kernel/net/packet/
H A Daf_packet.c4378 if (unlikely(req->tp_frame_size < min_frame_size)) in packet_set_ring()
4380 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()
4383 rb->frames_per_block = req->tp_block_size / req->tp_frame_size; in packet_set_ring()
4453 rb->frame_size = req->tp_frame_size; in packet_set_ring()