From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nf] testing: selftests: nft_flowtable.sh: check ingress/egress chain too
Date: Wed, 10 May 2023 08:40:42 +0200 [thread overview]
Message-ID: <ZFs8TAsFLOb+FQ6H@calendula> (raw)
In-Reply-To: <20230509144724.23992-1-fw@strlen.de>
On Tue, May 09, 2023 at 04:47:24PM +0200, Florian Westphal wrote:
> Make sure flowtable interacts correctly with ingress and egress
> chains, i.e. those get handled before and after flow table respectively.
>
> Adds three more tests:
> 1. repeat flowtable test, but with 'ip dscp set cs3' done in
> inet forward chain.
>
> Expect that some packets have been mangled (before flowtable offload
> became effective) while some pass without mangling (after offload
> succeeds).
>
> 2. repeat flowtable test, but with 'ip dscp set cs3' done in
> veth0:ingress.
>
> Expect that all packets pass with cs3 dscp field.
>
> 3. same as 2, but use veth1:egress. Expect the same outcome.
>
> Signed-off-by: Florian Westphal <fw@strlen.de>
> ---
> This is on top of Boris changes to nft_flowtable.sh script.
This applies cleanly to nf.git, are you fine if I place this on that tree?
Thanks.
prev parent reply other threads:[~2023-05-10 6:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 14:47 [PATCH nf] testing: selftests: nft_flowtable.sh: check ingress/egress chain too Florian Westphal
2023-05-10 6:40 ` Pablo Neira Ayuso [this message]
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=ZFs8TAsFLOb+FQ6H@calendula \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/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