OSDN Git Service

netfilter: flowtable: Add API for registering to flow table events
authorPaul Blakey <paulb@mellanox.com>
Thu, 12 Mar 2020 10:23:05 +0000 (12:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 22:00:38 +0000 (15:00 -0700)
commit978703f42549ac7d1a354bafbfc346a3ccf15f0d
tree11d2025ac32d02649bb7dbe037c6779d5c42e3f0
parentc6fe5729dcff469be1ee3c516f9d9d2c3f1598c2
netfilter: flowtable: Add API for registering to flow table events

Let drivers to add their cb allowing them to receive flow offload events
of type TC_SETUP_CLSFLOWER (REPLACE/DEL/STATS) for flows managed by the
flow table.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_flow_table.h
net/netfilter/nf_flow_table_core.c
net/netfilter/nf_flow_table_offload.c