On 13 January 2014 14:04, Ben Pfaff <[email protected]> wrote: > > I suggest adding an NL_DUMP_BUFSIZE or similar in the header and > suggesting in the comment that at least that much space should > available. (There is no harm if there isn't, because the netlink > receive function will reallocate the buffer and copy data around, but > performance is better without that.) >
I wasn't sure how much should be used, and the nl_sock_recv() comment didn't help much either---"enough space for a typical message". Could this be more general, as a suggested buffer size for all netlink transactions?
_______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
