Re: [PATCH net-next 7/7] openvswitch: Pack struct sw_flow_key.

2017-02-07 Thread Jarno Rajahalme
> On Feb 6, 2017, at 11:15 PM, Joe Stringer wrote: > > On 2 February 2017 at 17:10, Jarno Rajahalme wrote: >> struct sw_flow_key has two 16-bit holes. Move the most matched >> conntrack match fields there. In some typical cases this reduces the >> size of the key

Re: [PATCH net-next 7/7] openvswitch: Pack struct sw_flow_key.

2017-02-07 Thread Jarno Rajahalme
> On Feb 6, 2017, at 11:15 PM, Joe Stringer wrote: > > On 2 February 2017 at 17:10, Jarno Rajahalme wrote: >> struct sw_flow_key has two 16-bit holes. Move the most matched >> conntrack match fields there. In some typical cases this reduces the >> size of the key

Re: [PATCH net-next 7/7] openvswitch: Pack struct sw_flow_key.

2017-02-06 Thread Joe Stringer
On 2 February 2017 at 17:10, Jarno Rajahalme wrote: > struct sw_flow_key has two 16-bit holes. Move the most matched > conntrack match fields there. In some typical cases this reduces the > size of the key that needs to be hashed into half and into one cache > line. > >

[PATCH net-next 7/7] openvswitch: Pack struct sw_flow_key.

2017-02-02 Thread Jarno Rajahalme
struct sw_flow_key has two 16-bit holes. Move the most matched conntrack match fields there. In some typical cases this reduces the size of the key that needs to be hashed into half and into one cache line. Signed-off-by: Jarno Rajahalme --- net/openvswitch/conntrack.c| 42