Re: [PATCH v4 net-next 04/11] net: Get skb hash over flow_keys structure
From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-05-22 06:52:49
From: Jiri Pirko <jiri@resnulli.us>
Date: 2015-05-22 06:52:49
Fri, May 22, 2015 at 02:11:39AM CEST, tom@herbertland.com wrote:
This patch changes flow hashing to use jhash2 over the flow_keys structure instead just doing jhash_3words over src, dst, and ports. This method will allow us take more input into the hashing function so that we can include full IPv6 addresses, VLAN, flow labels etc. without needing to resort to xor'ing which makes for a poor hash. Signed-off-by: Tom Herbert <redacted>
Acked-by: Jiri Pirko <jiri@resnulli.us>