]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add flowtable offload control plane
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Nov 2019 23:29:55 +0000 (00:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 03:42:26 +0000 (19:42 -0800)
commit95761362366c4bf9c56db738638d58776a035424
tree2cd43fa701a2c7d23548c523e93e3b3192ce9d9c
parente8b0cfa39fc99d7070ec81c9aeec94cf35e1e82d
netfilter: nf_tables: add flowtable offload control plane

This patch adds the NFTA_FLOWTABLE_FLAGS attribute that allows users to
specify the NF_FLOWTABLE_HW_OFFLOAD flag. This patch also adds a new
setup interface for the flowtable type to perform the flowtable offload
block callback configuration.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_flow_table.h
include/uapi/linux/netfilter/nf_tables.h
net/ipv4/netfilter/nf_flow_table_ipv4.c
net/ipv6/netfilter/nf_flow_table_ipv6.c
net/netfilter/nf_flow_table_inet.c
net/netfilter/nf_tables_api.c