Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Dif_packet.h140 #define TPACKET_ALIGNMENT 16 macro
141 #define TPACKET_ALIGN(x) (((x)+TPACKET_ALIGNMENT-1)&~(TPACKET_ALIGNMENT-1))
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c70 # define __aligned_tpacket __attribute__((aligned(TPACKET_ALIGNMENT)))
647 ring->req.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v1_v2_fill()
668 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt372 - Start. Frame must be aligned to TPACKET_ALIGNMENT=16
374 - pad to TPACKET_ALIGNMENT=16
377 TPACKET_ALIGNMENT=16
379 - Start+tp_net: Packet data, aligned to TPACKET_ALIGNMENT=16.
380 - Pad to align to TPACKET_ALIGNMENT=16
387 tp_frame_size must be a multiple of TPACKET_ALIGNMENT
/Linux-v4.19/net/packet/
Daf_packet.c4267 if (unlikely(req->tp_frame_size & (TPACKET_ALIGNMENT - 1))) in packet_set_ring()