Home
last modified time | relevance | path

Searched refs:TPACKET_ALIGNMENT (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/include/uapi/linux/
A Dif_packet.h144 #define TPACKET_ALIGNMENT 16 macro
145 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
/linux-6.3-rc2/tools/testing/selftests/net/
A Dpsock_tpacket.c56 # define __aligned_tpacket __attribute__((aligned(TPACKET_ALIGNMENT)))
633 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()
654 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
/linux-6.3-rc2/Documentation/networking/
A Dpacket_mmap.rst381 - Start. Frame must be aligned to TPACKET_ALIGNMENT=16
383 - pad to TPACKET_ALIGNMENT=16
386 TPACKET_ALIGNMENT=16
388 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
389 - Pad to align to TPACKET_ALIGNMENT=16
396 - tp_frame_size must be a multiple of TPACKET_ALIGNMENT
/linux-6.3-rc2/net/packet/
A Daf_packet.c4418 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()

Completed in 14 milliseconds