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 :
> On Mon, Jul 17, 2017 at 02:39:57AM +, Zhenyu Gao wrote:
> > Sendmmsg can reduce cpu cycles in sending packets to
On Mon, Jul 17, 2017 at 02:39:57AM +, 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
Ping
Thanks
Zhenyu Gao
2017-07-17 10:39 GMT+08:00 Zhenyu Gao :
> 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.
>
> If kernel side doesn't
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.
If kernel side doesn't support sendmmsg, will fallback to sendmsg.
netserver
||
||
| container |