[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190621151927.GB2414@nanopsycho.orion>
Date: Fri, 21 Jun 2019 17:19:27 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
davem@...emloft.net, thomas.lendacky@....com, f.fainelli@...il.com,
ariel.elior@...ium.com, michael.chan@...adcom.com,
santosh@...lsio.com, madalin.bucur@....com,
yisen.zhuang@...wei.com, salil.mehta@...wei.com,
jeffrey.t.kirsher@...el.com, tariqt@...lanox.com,
saeedm@...lanox.com, jiri@...lanox.com, idosch@...lanox.com,
jakub.kicinski@...ronome.com, peppe.cavallaro@...com,
grygorii.strashko@...com, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com, alexandre.torgue@...com,
joabreu@...opsys.com, linux-net-drivers@...arflare.com,
ganeshgr@...lsio.com, ogerlitz@...lanox.com,
Manish.Chopra@...ium.com, marcelo.leitner@...il.com,
mkubecek@...e.cz, venkatkumar.duvvuru@...adcom.com,
cphealy@...il.com
Subject: Re: [PATCH net-next 10/12] net: flow_offload: add flow_block_cb API
Thu, Jun 20, 2019 at 09:49:15PM CEST, pablo@...filter.org wrote:
[...]
>diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h
>index 36127c1858a4..728ded7e4361 100644
>--- a/include/net/flow_offload.h
>+++ b/include/net/flow_offload.h
>@@ -232,4 +232,56 @@ static inline void flow_stats_update(struct flow_stats *flow_stats,
> flow_stats->lastused = max_t(u64, flow_stats->lastused, lastused);
> }
>
>+#include <net/sch_generic.h> /* for tc_setup_cb_t. */
>+
>+enum flow_block_command {
>+ TC_BLOCK_BIND,
>+ TC_BLOCK_UNBIND,
It's not TC now. You should name these FLOW_BLOCK_BIND/UNBIND
>+};
>+
>+enum flow_block_binder_type {
>+ TCF_BLOCK_BINDER_TYPE_UNSPEC,
>+ TCF_BLOCK_BINDER_TYPE_CLSACT_INGRESS,
>+ TCF_BLOCK_BINDER_TYPE_CLSACT_EGRESS,
Same here.
>+};
>+
[...]
Powered by blists - more mailing lists