From: Ben Pfaff Date: Mon, 25 Nov 2013 18:41:28 +0000 (-0800) Subject: openvswitch: Shrink sw_flow_mask by 8 bytes (64-bit) or 4 bytes (32-bit). X-Git-Tag: v3.14-rc1~94^2~265^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f49ce1135676e5790d8ac5f8ecb2a218c07a33a;p=pandora-kernel.git 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 Acked-by: Andy Zhou Signed-off-by: Jesse Gross --- Reading git-diff-tree failed