Skip to content

nf_tables_offload: vlan matching support

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4netfilter: nf_tables: constify nft_reg_load{8,16,64}()include/net/netfilter/nf_tables.h+3 -30 replies
2/4netfilter: nf_tables_offload: allow ethernet interface type onlyinclude/net/flow_dissector.h net/netfilter/nft_cmp.c net/netfilter/nft_meta.c+12 -00 replies
3/4netfilter: nft_payload: add VLAN offload supportinclude/net/flow_dissector.h net/netfilter/nft_payload.c+28 -30 replies
4/4netfilter: nft_payload: add C-VLAN offload supportnet/netfilter/nft_payload.c+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] nf_tables_offload: vlan matching support

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(-)
Signature · 1 line
2.11.0