mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
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@intel.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
committed by
Ben Pfaff
parent
fea6740fe2
commit
0d9bdf2e22
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user