Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12332

What is the maximum buffer size that we can pass using nl? If we increase the PAGE_SIZE in kernel will it help to increase the buffer size?

$
0
0

I am working on an application(ARM platform) that uses netlink messages to pass a buffer of size 8k to kernel space driver to fetch some data from the driver. I have allocated the required memory for the nl message using function nlmsg_alloc_size, But When the buffer size exceeds size of 4k, we are not getting data from driver, even though the driver is able to receive the NL command with buffer.

So we checked the kernel source and found that the buffer size is limited to 4096 for ARM in kernel.

So is it possible to send a nl message with more than 4k buffer? If so, please suggest a solution.

Thanks.


Viewing all articles
Browse latest Browse all 12332

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>