Home
last modified time | relevance | path

Searched refs:nm_frame_size (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/Documentation/networking/
Dnetlink_mmap.txt90 unsigned int nm_frame_size;
95 and holds nm_block_size / nm_frame_size frames. The total number of frames in
98 - frames_per_block = nm_block_size / nm_frame_size
107 - nm_frame_size must be equal or larger to NL_MMAP_HDRLEN, IOW a frame must be
110 - nm_frame_size must be smaller or equal to nm_block_size
112 - nm_frame_size must be a multiple of NL_MMAP_MSG_ALIGNMENT
118 performance negatively, in order to avoid this the nm_frame_size parameter
215 .nm_frame_size = 16384,
/linux-4.4.14/include/uapi/linux/
Dnetlink.h123 unsigned int nm_frame_size; member
/linux-4.4.14/net/netlink/
Daf_netlink.c394 ring->frame_size = req->nm_frame_size; in __netlink_set_ring()
433 if (req->nm_frame_size < NL_MMAP_HDRLEN) in netlink_set_ring()
435 if (!IS_ALIGNED(req->nm_frame_size, NL_MMAP_MSG_ALIGNMENT)) in netlink_set_ring()
439 req->nm_frame_size; in netlink_set_ring()