]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev.h
netdev: Reorder elements in netdev_tunnel_config structure.
authorBhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Fri, 8 Sep 2017 17:59:17 +0000 (18:59 +0100)
committerBen Pfaff <blp@ovn.org>
Fri, 3 Nov 2017 19:54:28 +0000 (12:54 -0700)
commitfea6740fe2e38864b9dc02c0b38c8df2250a9586
tree9f1b8c8334cd79b45bccd211467fb70f5ba18171
parent7a385993a647718aa2a79b728159d657718ff8fd
netdev: Reorder elements in netdev_tunnel_config structure.

By reordering elements in netdev_tunnel_config structure, sum holes and
pad bytes can be reduced.

Before: structure size: 96, sum holes: 17, pad bytes: 4, cachelines:2
After : structure size: 80, sum holes:  5, pad bytes: 0, cachelines:2

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/netdev.h