It looks better to this independent function netdev_linux_tap_batch_send. Thanks for working on it.
Thanks Zhenyu Gao 2017-08-03 5:59 GMT+08:00 Ben Pfaff <[email protected]>: > On Mon, Jul 17, 2017 at 02:39:57AM +0000, Zhenyu Gao wrote: > > Sendmmsg can reduce cpu cycles in sending packets to kernel. > > Replace sendmsg with sendmmsg in function netdev_linux_send to send > > batch packets if sendmmsg is available. > > Thanks for the patch. > > I like the idea but I found the details to be a little hard to follow, > especially given the multiple goto statements. > > How about the following instead? > https://patchwork.ozlabs.org/patch/796898/ > https://patchwork.ozlabs.org/patch/796899/ > > Thanks, > > Ben. > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
