From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Frank Wunderlich <linux@fw-web.de>
Cc: Frank Wunderlich <frank-w@public-files.de>,
netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] nftables: add flags offload to flowtable
Date: Thu, 25 Mar 2021 12:14:12 +0100 [thread overview]
Message-ID: <20210325111412.GA24785@salvia> (raw)
In-Reply-To: <20210321164916.62556-1-linux@fw-web.de>
On Sun, Mar 21, 2021 at 05:49:16PM +0100, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
>
> allow flags (currently only offload) in flowtables like it is stated
> here: https://lwn.net/Articles/804384/
>
> tested on mt7622/Bananapi-R64
>
> table ip filter {
> flowtable f {
> hook ingress priority filter + 1
> devices = { lan3, lan0, wan }
> flags offload;
> }
>
> chain forward {
> type filter hook forward priority filter; policy accept;
> ip protocol { tcp, udp } flow add @f
> }
> }
>
> table ip nat {
> chain post {
> type nat hook postrouting priority filter; policy accept;
> oifname "wan" masquerade
> }
> }
Applied, thanks.
prev parent reply other threads:[~2021-03-25 11:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-21 16:49 [PATCH] nftables: add flags offload to flowtable Frank Wunderlich
2021-03-25 11:14 ` 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=20210325111412.GA24785@salvia \
--to=pablo@netfilter.org \
--cc=frank-w@public-files.de \
--cc=linux@fw-web.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;
as well as URLs for NNTP newsgroup(s).