[ovs-git] [openvswitch/ovs] fea674: netdev: Reorder elements in netdev_tunnel_config s...

GitHub noreply at github.com
Fri Nov 3 20:07:27 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: fea6740fe2e38864b9dc02c0b38c8df2250a9586
      https://github.com/openvswitch/ovs/commit/fea6740fe2e38864b9dc02c0b38c8df2250a9586
  Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M lib/netdev.h

  Log Message:
  -----------
  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 at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 0d9bdf2e225f91785ae2d29f2051a2a060f8ba37
      https://github.com/openvswitch/ovs/commit/0d9bdf2e225f91785ae2d29f2051a2a060f8ba37
  Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M lib/netdev-provider.h

  Log Message:
  -----------
  netdev-provider: Reorder element in netdev_flow_dump structure.

By reordering bool in netdev_flow_dump structure, pad bytes can be
reduced.

Before: structure size: 32, sum holes: 4, sum padbytes:7, cachelines:1
After : structure size: 24, sum holes: 3, sum padbytes:0, cachelines:1

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 85e16a45ea6ecffbce91cfcbf07a7431b96b9987
      https://github.com/openvswitch/ovs/commit/85e16a45ea6ecffbce91cfcbf07a7431b96b9987
  Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M lib/netdev-provider.h

  Log Message:
  -----------
  netdev-provider: Reorder elements in netdev structure.

By reordering elements in netdev structure, holes can be removed.

Before: structure size: 88, sum holes: 10, cachelines:2
After : structure size: 80, sum holes:  2, cachelines:2

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: ee42dd70dccbd88729266692e571fca7cef88c62
      https://github.com/openvswitch/ovs/commit/ee42dd70dccbd88729266692e571fca7cef88c62
  Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
  Date:   2017-11-03 (Fri, 03 Nov 2017)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Reorder elements in dp_netdev_rxq structure.

By reordering elements in dp_netdev_rxq structure, pad bytes and a hole
can be removed.

Before: structure size: 104, sum holes: 1, sum padbytes:4, cachelines:2
After : structure size:  96, sum holes: 0, sum padbytes:0, cachelines:2

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/7a385993a647...ee42dd70dccb


More information about the git mailing list