diff options
author | Pablo Neira Ayuso | 2019-07-09 22:55:39 +0200 |
---|---|---|
committer | David S. Miller | 2019-07-09 14:38:50 -0700 |
commit | 4e95bc268b915c3a19ec8b9110f61e4ea41a1ed0 (patch) | |
tree | 98ae57b058ea60b87e43192551dc3868d866877f /include/net/tls.h | |
parent | 2bb295f3a5e612b36ccf5986b529a8d4b426cf4f (diff) |
net: flow_offload: add flow_block_cb_setup_simple()
Most drivers do the same thing to set up the flow block callbacks, this
patch adds a helper function to do this.
This preparation patch reduces the number of changes to adapt the
existing drivers to use the flow block callback API.
This new helper function takes a flow block list per-driver, which is
set to NULL until this driver list is used.
This patch also introduces the flow_block_command and
flow_block_binder_type enumerations, which are renamed to use
FLOW_BLOCK_* in follow up patches.
There are three definitions (aliases) in order to reduce the number of
updates in this patch, which go away once drivers are fully adapted to
use this flow block API.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tls.h')
0 files changed, 0 insertions, 0 deletions