[ovs-git] [openvswitch/ovs] 0a62ae: netdev-linux: Refactor netdev_linux_send() in forw...
GitHub
noreply at github.com
Wed May 31 15:54:47 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 0a62ae2c62356a1b91b6477b5b28160c3c9e8ade
https://github.com/openvswitch/ovs/commit/0a62ae2c62356a1b91b6477b5b28160c3c9e8ade
Author: Zhenyu Gao <sysugaozhenyu at gmail.com>
Date: 2017-05-31 (Wed, 31 May 2017)
Changed paths:
M AUTHORS.rst
M lib/netdev-linux.c
Log Message:
-----------
netdev-linux: Refactor netdev_linux_send() in forwarding batch packets.
We don't need to initialize sock,msg and sll before calling sendmsg each
time. Just initialize them before the loop, it can reduce cpu cycles.
Signed-off-by: Zhenyu Gao <sysugaozhenyu at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list