[PATCH net-next 1/1] tc: Update README and add config

2018-08-10 Thread Keara Leibovitz
Updated README. Added config file that contains the minimum required features enabled to run the tests currently present in the kernel. This must be updated when new unittests are created and require their own modules. Signed-off-by: Keara Leibovitz --- tools/testing/selftests/tc-testing

[PATCH net-next 1/1] tc-tests: initial version of nat action unit tests

2018-08-07 Thread Keara Leibovitz
Initial set of nat action unit tests. Signed-off-by: Keara Leibovitz --- .../selftests/tc-testing/tc-tests/actions/nat.json | 593 + 1 file changed, 593 insertions(+) create mode 100644 tools/testing/selftests/tc-testing/tc-tests/actions/nat.json diff --git a/tools/testing

[PATCH iproute2-next 1/1] tc: fix bugs for tcp_flags and ip_attr hex output

2018-07-26 Thread Keara Leibovitz
ot;:"ip", "pref":5, "kind":"flower", "chain":0 },{ "protocol":"ip", "pref":5, "kind":"flower", "chain":0, "options": { "handle&q

[PATCH net-next 1/1] tc-tests: initial version of fw filter unit tests

2018-07-17 Thread Keara Leibovitz
Create initial unit tests for the tc fw filter. Signed-off-by: Keara Leibovitz --- .../selftests/tc-testing/tc-tests/filters/fw.json | 1049 1 file changed, 1049 insertions(+) create mode 100644 tools/testing/selftests/tc-testing/tc-tests/filters/fw.json diff --git a

[PATCH net-next v2 1/1] tc-testing: initial version of tunnel_key unit tests

2018-06-29 Thread Keara Leibovitz
Create unittests for the tc tunnel_key action. v2: For the tests expecting failures, added non-zero exit codes in the teardowns. This prevents those tests from failing if the act_tunnel_key module is unloaded. Signed-off-by: Keara Leibovitz --- .../tc-testing/tc-tests/actions/tunnel_key.json

Re: [PATCH net-next 1/1] tc-testing: initial version of tunnel_key unit tests

2018-06-29 Thread Keara Leibovitz
Please disregard - wrong patch. Keara

[PATCH net-next 1/1] tc-testing: initial version of tunnel_key unit tests

2018-06-29 Thread Keara Leibovitz
Create unittests for the tc tunnel_key action. Signed-off-by: Keara Leibovitz --- .../tc-testing/tc-tests/actions/tunnel_key.json| 676 + 1 file changed, 676 insertions(+) create mode 100644 tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json diff

Re: [PATCH net-next 1/1] tc-testing: initial version of tunnel_key unit tests

2018-06-28 Thread Keara Leibovitz
>> Until I'm able to submit everything, I'd be OK with having Keara add >> the non-zero exit codes to the teardown on her tests. In the meantime >> we'll get the README updated and config file added as well. >> >> How does this sound? > > it sounds good to me, but at this point we can also leave t

[PATCH net-next 1/1] tc-tests: add an extreme-case csum action test

2018-06-26 Thread Keara Leibovitz
Added an extreme-case test for all 7 csum action headers. Signed-off-by: Keara Leibovitz --- .../tc-testing/tc-tests/actions/csum.json | 24 ++ 1 file changed, 24 insertions(+) diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/csum.json b/tools

[PATCH net-next 1/1] tc-testing: initial version of tunnel_key unit tests

2018-06-26 Thread Keara Leibovitz
Create unittests for the tc tunnel_key action. Signed-off-by: Keara Leibovitz --- .../tc-testing/tc-tests/actions/tunnel_key.json| 676 + 1 file changed, 676 insertions(+) create mode 100644 tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json diff

[PATCH iproute2-next 1/1] tc: jsonify nat action

2018-06-18 Thread Keara Leibovitz
ot;order": 1, "type": "nat", "direction": "ingress", "old_addr": "100.100.100.1/32", "new_addr": "200.200.200.2", "control_action": {

[PATCH net-next 1/1] tc-testing: initial version of tunnel_key unit tests

2018-06-14 Thread Keara Leibovitz
Signed-off-by: Keara Leibovitz --- .../tc-testing/tc-tests/actions/tunnel_key.json| 676 + 1 file changed, 676 insertions(+) create mode 100644 tools/testing/selftests/tc-testing/tc-tests/actions/tunnel_key.json diff --git a/tools/testing/selftests/tc-testing/tc-tests

[PATCH iproute2-next v2 1/1] tc: add json support in csum action

2018-06-05 Thread Keara Leibovitz
sum":"iph, icmp, igmp", "control_action": { "type":"pipe" }, "index":200, "ref":1, "bind":0, "cookie":"112233" }] }] v2: Don't initiali

[PATCH iproute2-next 1/1] tc: add json support in csum action

2018-06-05 Thread Keara Leibovitz
Signed-off-by: Keara Leibovitz --- tc/m_csum.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tc/m_csum.c b/tc/m_csum.c index 8391071d73f2..67481667d9d2 100644 --- a/tc/m_csum.c +++ b/tc/m_csum.c @@ -162,6 +162,7 @@ print_csum(struct action_util *au, FILE