netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf 0/2] fixes for nftables offload
@ 2020-11-04 12:52 Pablo Neira Ayuso
  2020-11-04 12:52 ` [PATCH nf 1/2] netfilter: nftables_offload: set address type in control dissector Pablo Neira Ayuso
  2020-11-04 12:52 ` [PATCH nf 2/2] netfilter: nftables_offload: build mask based from the matching bytes Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2020-11-04 12:52 UTC (permalink / raw)
  To: netfilter-devel

Hi,

These patchset fixes nftables offload for the two cases:

- matching on exact IP address
- matching on prefix IP address

Tested with mlx5.

Pablo Neira Ayuso (2):
  netfilter: nftables_offload: set address type in control dissector
  netfilter: nftables_offload: build mask based from the matching bytes

 include/net/netfilter/nf_tables_offload.h |  7 +++
 net/netfilter/nf_tables_offload.c         | 18 ++++++
 net/netfilter/nft_cmp.c                   |  8 +--
 net/netfilter/nft_meta.c                  | 16 +++---
 net/netfilter/nft_payload.c               | 68 +++++++++++++++++------
 5 files changed, 88 insertions(+), 29 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-04 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-04 12:52 [PATCH nf 0/2] fixes for nftables offload Pablo Neira Ayuso
2020-11-04 12:52 ` [PATCH nf 1/2] netfilter: nftables_offload: set address type in control dissector Pablo Neira Ayuso
2020-11-04 12:52 ` [PATCH nf 2/2] netfilter: nftables_offload: build mask based from the matching bytes Pablo Neira Ayuso
2020-11-04 22:03   ` kernel test robot

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).