]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit045d6a6dc4ff6329a5b8a5437350ddbc753e970e
tree11d2025ac32d02649bb7dbe037c6779d5c42e3f0
parent981373eaa12d0150e32049897f24b42570837a8a
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