public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Davide Caratti <dcaratti@redhat•com>
To: Jamal Hadi Salim <jhs@mojatatu•com>,
	Cong Wang <xiyou.wangcong@gmail•com>,
	Jiri Pirko <jiri@resnulli•us>, Ilya Maximets <i.maximets@ovn•org>
Cc: Jakub Kicinski <kuba@kernel•org>,
	netdev@vger•kernel.org, Pedro Tammela <pctammela@mojatatu•com>
Subject: [PATCH net-next v2 0/4] net/sched: act_tunnel_key: add support for TUNNEL_DONT_FRAGMENT
Date: Thu, 23 Mar 2023 14:34:39 +0100	[thread overview]
Message-ID: <cover.1679569719.git.dcaratti@redhat.com> (raw)

- patch 1 extends TC tunnel_key action to add support for TUNNEL_DONT_FRAGMENT 
- patch 2 extends tdc to skip tests when iproute2 support is missing
- patch 3 adds a tdc test case to verify functionality of the control plane
- patch 4 adds a net/forwarding test case to verify functionality of the data plane

v1->v2:
 - split patchset to have test cases in separate patches (thanks to
   Pedro Tammela)
 - change TCA_TUNNEL_KEY_NO_FRAG attribute, so the it is a flag istead
   of u8 (thanks to Jakub Kicinski)
 - add missing TEST_PROGS assignment (thanks to Jakub Kicinski)

Davide Caratti (4):
  net/sched: act_tunnel_key: add support for "don't fragment"
  selftests: tc-testing: extend the "skip" property
  selftests: tc-testing: add tunnel_key "nofrag" test case
  selftests: forwarding: add tunnel_key "nofrag" test case

 include/uapi/linux/tc_act/tc_tunnel_key.h     |   1 +
 net/sched/act_tunnel_key.c                    |   5 +
 .../testing/selftests/net/forwarding/Makefile |   1 +
 .../selftests/net/forwarding/tc_tunnel_key.sh | 161 ++++++++++++++++++
 .../creating-testcases/AddingTestCases.txt    |   4 +-
 .../tc-tests/actions/tunnel_key.json          |  25 +++
 tools/testing/selftests/tc-testing/tdc.py     |  21 ++-
 7 files changed, 211 insertions(+), 7 deletions(-)
 create mode 100755 tools/testing/selftests/net/forwarding/tc_tunnel_key.sh

-- 
2.39.2


             reply	other threads:[~2023-03-23 13:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-23 13:34 Davide Caratti [this message]
2023-03-23 13:34 ` [PATCH net-next v2 1/4] net/sched: act_tunnel_key: add support for "don't fragment" Davide Caratti
2023-03-25  2:06   ` Jakub Kicinski
2023-03-23 13:34 ` [PATCH net-next v2 2/4] selftests: tc-testing: extend the "skip" property Davide Caratti
2023-03-23 14:01   ` Pedro Tammela
2023-03-27 10:02     ` Davide Caratti
2023-03-27 14:05       ` Pedro Tammela
2023-03-23 13:34 ` [PATCH net-next v2 3/4] selftests: tc-testing: add tunnel_key "nofrag" test case Davide Caratti
2023-03-23 13:34 ` [PATCH net-next v2 4/4] selftests: forwarding: " Davide Caratti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1679569719.git.dcaratti@redhat.com \
    --to=dcaratti@redhat$(echo .)com \
    --cc=i.maximets@ovn$(echo .)org \
    --cc=jhs@mojatatu$(echo .)com \
    --cc=jiri@resnulli$(echo .)us \
    --cc=kuba@kernel$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pctammela@mojatatu$(echo .)com \
    --cc=xiyou.wangcong@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox