diff options
author | Stephen Suryaputra <ssuryaextr@gmail.com> | 2019-06-13 20:38:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-15 04:42:35 +0200 |
commit | 363887a2cdfeb6af52a9b78d84697662adf6f8d5 (patch) | |
tree | deae85756a29cfb317bf71a5b473ed71861c7338 /crypto/lz4hc.c | |
parent | virtio_net: enable napi_tx by default (diff) | |
download | linux-363887a2cdfeb6af52a9b78d84697662adf6f8d5.tar.xz linux-363887a2cdfeb6af52a9b78d84697662adf6f8d5.zip |
ipv4: Support multipath hashing on inner IP pkts for GRE tunnel
Multipath hash policy value of 0 isn't distributing since the outer IP
dest and src aren't varied eventhough the inner ones are. Since the flow
is on the inner ones in the case of tunneled traffic, hashing on them is
desired.
This is done mainly for IP over GRE, hence only tested for that. But
anything else supported by flow dissection should work.
v2: Use skb_flow_dissect_flow_keys() directly so that other tunneling
can be supported through flow dissection (per Nikolay Aleksandrov).
v3: Remove accidental inclusion of ports in the hash keys and clarify
the documentation (Nikolay Alexandrov).
Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions