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 <[email protected]> --- lib/netdev-provider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index b3c57d5..5d7bd4f 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -123,8 +123,8 @@ struct netdev *netdev_rxq_get_netdev(const struct netdev_rxq *); struct netdev_flow_dump { struct netdev *netdev; odp_port_t port; - struct nl_dump *nl_dump; bool terse; + struct nl_dump *nl_dump; }; /* Network device class structure, to be defined by each implementation of a -- 2.4.11 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
