On Sun, Feb 25, 2018 at 7:20 PM, David Ahern <d...@cumulusnetworks.com> wrote: > On 2/24/18 10:44 PM, Roopa Prabhu wrote: >> From: Roopa Prabhu <ro...@cumulusnetworks.com> >> >> This series extends fib rule match support to include sport, dport >> and ip proto match (to complete the 5-tuple match support). >> Common use-cases of Policy based routing in the data center require >> 5-tuple match. The last 2 patches in the series add a call to flow dissect >> in the fwd path if required by the installed fib rules (controlled by a >> flag). >> >> v1: >> - Fix errors reported by kbuild and feedback on RFC series >> - extend port match uapi to accomodate port ranges > > Would be good to have a test script under tools/testing/selftests/net > that covers expectations for good and bad cases. Can create one based on > tools/testing/selftests/net/fib-onlink-tests.sh
yep, that would help. Let me see if I can change my current bash test script to selftests