On 28/02/18 05:52, Roopa Prabhu wrote: > From: Roopa Prabhu <ro...@cumulusnetworks.com> > > Dissect flow in fwd path if fib rules require it. Controlled by > a flag to avoid penatly for the common case. Flag is set when fib > rules with sport, dport and proto match that require flow dissect > are installed. Also passes the dissected hash keys to the multipath > hash function when applicable to avoid dissecting the flow again. > icmp packets will continue to use inner header for hash > calculations (Thanks to Nikolay Aleksandrov for some review here). > > Signed-off-by: Roopa Prabhu <ro...@cumulusnetworks.com> > --- > include/net/ip_fib.h | 27 ++++++++++++++++++++++++++- > include/net/netns/ipv4.h | 1 + > net/ipv4/fib_rules.c | 8 ++++++++ > net/ipv4/fib_semantics.c | 2 +- > net/ipv4/route.c | 43 +++++++++++++++++++++++++++++-------------- > 5 files changed, 65 insertions(+), 16 deletions(-) >
Acked-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>