On Sat, 2017-04-22 at 19:43 +0530, prashantkumar dhotre wrote: > I am observing that max netlink msg that my kernel module can send to > user app is close to 16K. > > For larger sizes, genlmsg_unicast() succeeds but my app does not receive data. > > I have tried increasing RECV buffer size in my user app but that does not > help. > > Regards
You need a kernel >= linux-4.9 to get about 32KB Why is this limited ? Please read https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=d35c99ff77ecb2eb239731b799386f3b3637a31e