Re: Why max netlink msg size is limited to 16k

2017-05-23 Thread prashantkumar dhotre
Thanks Can I use NLM_F_MULTI netlink multipart msg flag to send large buffer ? I could not find example of that usage in sending case . I have a kernel module and tryng to send large buffer to user app. If I can use that flag, will kernel take care of splitting large buffer into small chunks and w

Re: Why max netlink msg size is limited to 16k

2017-04-22 Thread Eric Dumazet
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

Why max netlink msg size is limited to 16k

2017-04-22 Thread prashantkumar dhotre
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