diff options
| author | Ben Pfaff <[email protected]> | 2013-11-25 10:41:28 -0800 |
|---|---|---|
| committer | Jesse Gross <[email protected]> | 2014-01-06 15:51:27 -0800 |
| commit | 8f49ce1135676e5790d8ac5f8ecb2a218c07a33a (patch) | |
| tree | b84afd96bec73bf6d180c85599762564f783a68b /tools/perf/scripts/python/bin | |
| parent | d1211908b94092ccb742bff8d07798b3c6927e33 (diff) | |
openvswitch: Shrink sw_flow_mask by 8 bytes (64-bit) or 4 bytes (32-bit).
We won't normally have a ton of flow masks but using a size_t to store
values no bigger than sizeof(struct sw_flow_key) seems excessive.
This reduces sw_flow_key_range and sw_flow_mask by 4 bytes on 32-bit
systems. On 64-bit systems it shrinks sw_flow_key_range by 12 bytes but
sw_flow_mask only by 8 bytes due to padding.
Compile tested only.
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Andy Zhou <[email protected]>
Signed-off-by: Jesse Gross <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions