netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] nf_tables_offload: vlan matching support
@ 2019-11-19 22:05 Pablo Neira Ayuso
  2019-11-19 22:05 ` [PATCH net-next 1/4] netfilter: nf_tables: constify nft_reg_load{8,16,64}() Pablo Neira Ayuso
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Pablo Neira Ayuso @ 2019-11-19 22:05 UTC (permalink / raw)
  To: netfilter-devel; +Cc: davem, netdev

Hi David,

The following patchset contains Netfilter support for vlan matching
offloads:

1) Constify nft_reg_load() as a preparation patch.
2) Restrict rule matching to ingress interface type ARPHRD_ETHER.
3) Add new vlan_tci field to flow_dissector_key_vlan structure,
   to allow to set up vlan_id, vlan_dei and vlan_priority in one go.
4) C-VLAN matching support.

Please, directly apply to net-next if you are OK with this batch.

Thank you.

Pablo Neira Ayuso (4):
  netfilter: nf_tables: constify nft_reg_load{8,16,64}()
  netfilter: nf_tables_offload: allow ethernet interface type only
  netfilter: nft_payload: add VLAN offload support
  netfilter: nft_payload: add C-VLAN offload support

 include/net/flow_dissector.h      | 11 ++++++++---
 include/net/netfilter/nf_tables.h |  6 +++---
 net/netfilter/nft_cmp.c           |  6 ++++++
 net/netfilter/nft_meta.c          |  4 ++++
 net/netfilter/nft_payload.c       | 38 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 59 insertions(+), 6 deletions(-)

-- 
2.11.0


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

end of thread, other threads:[~2019-11-20 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-19 22:05 [PATCH net-next 0/4] nf_tables_offload: vlan matching support Pablo Neira Ayuso
2019-11-19 22:05 ` [PATCH net-next 1/4] netfilter: nf_tables: constify nft_reg_load{8,16,64}() Pablo Neira Ayuso
2019-11-19 22:05 ` [PATCH net-next 2/4] netfilter: nf_tables_offload: allow ethernet interface type only Pablo Neira Ayuso
2019-11-19 22:05 ` [PATCH net-next 3/4] netfilter: nft_payload: add VLAN offload support Pablo Neira Ayuso
2019-11-19 22:05 ` [PATCH net-next 4/4] netfilter: nft_payload: add C-VLAN " Pablo Neira Ayuso
2019-11-20 19:21 ` [PATCH net-next 0/4] nf_tables_offload: vlan matching support David Miller

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