Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dif_packet.h141 #define TPACKET_ALIGNMENT 16 macro
142 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
/Linux-v5.10/tools/testing/selftests/net/
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-v5.10/Documentation/networking/
Dpacket_mmap.rst382 - Start. Frame must be aligned to TPACKET_ALIGNMENT=16
384 - pad to TPACKET_ALIGNMENT=16
387 TPACKET_ALIGNMENT=16
389 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
390 - Pad to align to TPACKET_ALIGNMENT=16
397 - tp_frame_size must be a multiple of TPACKET_ALIGNMENT
/Linux-v5.10/net/packet/
Daf_packet.c4335 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()