From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: davem@davemloft.net, netdev@vger.kernel.org,
jakub.kicinski@netronome.com, marcelo.leitner@gmail.com,
jiri@resnulli.us, wenxu@ucloud.cn, saeedm@mellanox.com,
paulb@mellanox.com, gerlitz.or@gmail.com
Subject: [PATCH net 0/2] flow_offload hardware priority fixes
Date: Thu, 1 Aug 2019 13:28:15 +0200 [thread overview]
Message-ID: <20190801112817.24976-1-pablo@netfilter.org> (raw)
Hi,
This patchset contains two updates for the flow_offload users:
1) Pass the major tc priority to drivers so they do not have to
lshift it. This is a preparation patch for the fix coming in
patch #2.
2) Set the hardware priority from the netfilter basechain priority,
some drivers break when using the existing hardware priority
number that is set to zero.
Please, apply, thank you.
Pablo Neira Ayuso (2):
net: sched: use major priority number as hardware priority
netfilter: nf_tables: map basechain priority to hardware priority
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 2 +-
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | 2 +-
drivers/net/ethernet/mscc/ocelot_flower.c | 12 +++---------
drivers/net/ethernet/netronome/nfp/flower/qos_conf.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 2 +-
include/net/netfilter/nf_tables_offload.h | 2 ++
include/net/pkt_cls.h | 2 +-
net/netfilter/nf_tables_api.c | 4 ++++
net/netfilter/nf_tables_offload.c | 18 +++++++++++++++---
9 files changed, 29 insertions(+), 17 deletions(-)
--
2.11.0
next reply other threads:[~2019-08-01 11:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-01 11:28 Pablo Neira Ayuso [this message]
2019-08-01 11:28 ` [PATCH net 1/2] net: sched: use major priority number as hardware priority Pablo Neira Ayuso
2019-08-01 11:28 ` [PATCH net 2/2,v3] netfilter: nf_tables: map basechain priority to " Pablo Neira Ayuso
2019-08-02 0:20 ` [PATCH net 0/2] flow_offload hardware priority fixes Jakub Kicinski
2019-08-02 11:00 ` Pablo Neira Ayuso
2019-08-02 20:47 ` Jakub Kicinski
2019-08-02 22:04 ` Pablo Neira Ayuso
2019-08-02 22:25 ` Jakub Kicinski
2019-08-03 7:08 ` Pablo Neira Ayuso
2019-08-05 19:04 ` Jakub Kicinski
2019-08-06 9:42 ` 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=20190801112817.24976-1-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=davem@davemloft.net \
--cc=gerlitz.or@gmail.com \
--cc=jakub.kicinski@netronome.com \
--cc=jiri@resnulli.us \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=paulb@mellanox.com \
--cc=saeedm@mellanox.com \
--cc=wenxu@ucloud.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.