Thanks for the review. I removed inline from
netdev_linux_sock_batch_send() and applied these patches to master.
On Thu, Aug 03, 2017 at 09:40:36AM +0800, Gao Zhenyu wrote:
> Thanks for working on it. LGTM.
>
> Could you please add inline for function netdev_linux_tap_batch_send? That
> makes i
Thanks for working on it. LGTM.
Could you please add inline for function netdev_linux_tap_batch_send? That
makes it looks like function netdev_linux_sock_batch_send.
Or eliminate inline for function netdev_linux_sock_batch_send.
Thanks
Zhenyu Gao
2017-08-03 5:58 GMT+08:00 Ben Pfaff :
> From: Z
From: 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 support sendmmsg, will fallback to sendmsg.
netserver
||
|