[ovs-dev] [PATCH 00/13] Rearrange structure members for memory efficiency.
Bhanuprakash Bodireddy
bhanuprakash.bodireddy at intel.com
Fri Sep 8 17:59:12 UTC 2017
This is a simple patch series that reorders members in some structures
to reduce/remove holes and pad bytes, thus saving memory footprint.
This series doesn't change any functionality and care has been taken not
to disturb the grouping of related members variables in structures.
Please note that no performance impact is observed with the new ordering.
Bhanuprakash Bodireddy (13):
bond: Reorder elements in bond_slave structure.
netdev-dummy: Reorder elements in dummy_packet_stream structure.
tun-metadata: Reorder elements in tun_meta_entry structure.
ct-dpif: Reorder elements in ct_dpif_entry structure.
netdev: Reorder elements in netdev_tunnel_config structure.
netdev-provider: Reorder element in netdev_flow_dump structure.
netdev-provider: Reorder elements in netdev structure.
dpif-netdev: Reorder elements in dp_netdev_rxq structure.
dpif: Reorder elements in dpif_flow_put structure.
ofproto: Reorder elements in ofproto_ipfix_flow_exporter_options
structure.
ofproto: Reorder elements in ofproto_bundle_settings structure.
conntrack: Fix dead assignment reported by clang.
ofproto-dpif-xlate: Fix dead assignment reported by clang.
lib/conntrack.c | 5 ++---
lib/ct-dpif.h | 5 +++--
lib/dpif-netdev.c | 2 +-
lib/dpif.h | 2 +-
lib/netdev-dummy.c | 2 +-
lib/netdev-provider.h | 13 +++++++------
lib/netdev.h | 4 ++--
lib/tun-metadata.c | 2 +-
ofproto/bond.c | 4 ++--
ofproto/ofproto-dpif-xlate.c | 1 -
ofproto/ofproto.h | 7 +++----
11 files changed, 23 insertions(+), 24 deletions(-)
--
2.4.11
More information about the dev
mailing list