diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-12 00:29:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-12 19:42:26 -0800 |
commit | 8bb69f3b2918788435cbd5834c66682642c09fba (patch) | |
tree | 2cd43fa701a2c7d23548c523e93e3b3192ce9d9c /net/ipv6 | |
parent | f1363e058b84e61d39f9796fa806090ad7a28ebd (diff) | |
download | linux-stable-8bb69f3b2918788435cbd5834c66682642c09fba.tar.gz linux-stable-8bb69f3b2918788435cbd5834c66682642c09fba.tar.bz2 linux-stable-8bb69f3b2918788435cbd5834c66682642c09fba.zip |
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>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/nf_flow_table_ipv6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/nf_flow_table_ipv6.c b/net/ipv6/netfilter/nf_flow_table_ipv6.c index f6d9a48c7a2a..1c47f05eabd6 100644 --- a/net/ipv6/netfilter/nf_flow_table_ipv6.c +++ b/net/ipv6/netfilter/nf_flow_table_ipv6.c @@ -10,6 +10,7 @@ static struct nf_flowtable_type flowtable_ipv6 = { .family = NFPROTO_IPV6, .init = nf_flow_table_init, + .setup = nf_flow_table_offload_setup, .free = nf_flow_table_free, .hook = nf_flow_offload_ipv6_hook, .owner = THIS_MODULE, |