[ovs-git] [openvswitch/ovs] 65dcf3: dpif-netdev: Reorder elements in dp_netdev structu...

GitHub noreply at github.com
Thu May 18 21:13:22 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 65dcf3da404dd94f07a9494033add1aed8a235ef
      https://github.com/openvswitch/ovs/commit/65dcf3da404dd94f07a9494033add1aed8a235ef
  Author: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M lib/dpif-netdev.c

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

'emc_insert_min' variable is made to align on a 64-byte boundary and this
introduces a 24 byte hole.

This patch moves the emc_insert_min member variable slightly higher in
the order to remove the hole and thus saves a cache line with the new
ordering.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
CC: Ciara Loftus <ciara.loftus at intel.com>
CC: Georg Schmuecking <georg.schmuecking at ericsson.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Kevin Traynor <ktraynor at redhat.com>




More information about the git mailing list