netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: fw@strlen.de, thaller@redhat.com
Subject: [PATCH nft 0/4] more tests/shell updates to run on 5.4 kernels
Date: Wed, 15 Nov 2023 10:42:27 +0100	[thread overview]
Message-ID: <20231115094231.168870-1-pablo@netfilter.org> (raw)

Hi,

This patchset contains more updates for tests/shell to support 5.4 kernels:

1) Detect if kernel comes with flowtable counter support.
2) Detect if kernel comes with flowtable can be defined with no devices.
3) Skip pipapo tests if transactions/30s-stress.
4) Restore pipapo and chain binding tests in transactions/30s-stress
   when it is run standalone.

I am still dealing with 3 tests that fail in 5.4, one of them is:

sets/sets_with_ifnames

which needs a bit of work to detach pipapo support from it.

The remaining two failing tests are related to the flowtable, I am still
diagnosing these.

Pablo Neira Ayuso (4):
  tests: shell: skip if kernel does not support flowtable counter
  tests: shell: skip if kernel does not support flowtable with no devices
  tests: shell: skip pipapo set backend in transactions/30s-stress
  tests: shell: restore pipapo and chain binding coverage in standalone 30s-stress

 tests/shell/features/flowtable_counter.sh     | 16 +++++
 tests/shell/features/flowtable_no_devices.nft |  8 +++
 .../flowtable/0012flowtable_variable_0        |  2 +
 tests/shell/testcases/listing/0020flowtable_0 |  2 +
 tests/shell/testcases/transactions/30s-stress | 60 ++++++++++++++++---
 5 files changed, 81 insertions(+), 7 deletions(-)
 create mode 100755 tests/shell/features/flowtable_counter.sh
 create mode 100755 tests/shell/features/flowtable_no_devices.nft

-- 
2.30.2


             reply	other threads:[~2023-11-15  9:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-15  9:42 Pablo Neira Ayuso [this message]
2023-11-15  9:42 ` [PATCH nft 1/4] tests: shell: skip if kernel does not support flowtable counter Pablo Neira Ayuso
2023-11-15  9:42 ` [PATCH nft 2/4] tests: shell: skip if kernel does not support flowtable with no devices Pablo Neira Ayuso
2023-11-15  9:42 ` [PATCH nft 3/4] tests: shell: skip pipapo set backend in transactions/30s-stress Pablo Neira Ayuso
2023-11-15 10:25   ` Thomas Haller
2023-11-15 10:34     ` Pablo Neira Ayuso
2023-11-15  9:42 ` [PATCH nft 4/4] tests: shell: restore pipapo and chain binding coverage in standalone 30s-stress Pablo Neira Ayuso

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=20231115094231.168870-1-pablo@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=thaller@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).