Re: [PATCH net-next] ipv4: Support multipath hashing on inner IP pkts for GRE tunnel

2019-06-13 Thread Stephen Suryaputra
On Tue, Jun 11, 2019 at 10:29:56AM +0300, Nikolay Aleksandrov wrote: > > Have you considered using the flow dissector and doing something similar to > the bonding ? > It does a full flow dissect via skb_flow_dissect_flow_keys() and uses > whatever headers > it needs, but that will support any tu

Re: [PATCH net-next] ipv4: Support multipath hashing on inner IP pkts for GRE tunnel

2019-06-11 Thread Nikolay Aleksandrov
On 11/06/2019 03:31, Stephen Suryaputra wrote: > 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 currentl

[PATCH net-next] ipv4: Support multipath hashing on inner IP pkts for GRE tunnel

2019-06-10 Thread Stephen Suryaputra
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 currently only supports IP over GRE and CONFIG_NET_GRE_DEMUX must b