From: Jiri Pirko <jiri@resnulli.us>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Linux Kernel Network Developers <netdev@vger.kernel.org>,
David Miller <davem@davemloft.net>,
Jamal Hadi Salim <jhs@mojatatu.com>,
mlxsw@mellanox.com, andrew@lunn.ch,
Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
Florian Fainelli <f.fainelli@gmail.com>,
michael.chan@broadcom.com, ganeshgr@chelsio.com,
Saeed Mahameed <saeedm@mellanox.com>,
matanb@mellanox.com, leonro@mellanox.com,
Ido Schimmel <idosch@mellanox.com>,
Jakub Kicinski <jakub.kicinski@netronome.com>,
Simon Horman <simon.horman@netronome.com>,
Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>,
john.hurley@netronome.com,
Alexander Duyck <alexander.h.duyck@intel.com>,
Or Gerlitz <ogerlitz@mellanox.com>,
John Fastabend <john.fastabend@gmail.com>,
Daniel Borkmann <daniel@iogearbo
Subject: Re: [patch net-next v10 02/13] net: sched: introduce shared filter blocks infrastructure
Date: Wed, 17 Jan 2018 09:59:50 +0100 [thread overview]
Message-ID: <20180117085950.GA2114@nanopsycho> (raw)
In-Reply-To: <CAM_iQpV8Z_-8Tj0TJTi5QOhjtdngx0JtgArhGiCx_Se2v9CRGA@mail.gmail.com>
Wed, Jan 17, 2018 at 01:03:15AM CET, xiyou.wangcong@gmail.com wrote:
>On Tue, Jan 16, 2018 at 7:33 AM, Jiri Pirko <jiri@resnulli.us> wrote:
>> static int __init tc_filter_init(void)
>> {
>> + int err;
>> +
>> tc_filter_wq = alloc_ordered_workqueue("tc_filter_workqueue", 0);
>> if (!tc_filter_wq)
>> return -ENOMEM;
>>
>> + err = register_pernet_subsys(&tcf_net_ops);
>> + if (err)
>> + return err;
>
>Need to destroy the above workqueue on error.
Will fix. Thanks.
next prev parent reply other threads:[~2018-01-17 8:59 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 15:33 [patch net-next v10 00/13] net: sched: allow qdiscs to share filter block instances Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 01/13] net: sched: introduce support for multiple filter chain pointers registration Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 02/13] net: sched: introduce shared filter blocks infrastructure Jiri Pirko
2018-01-17 0:03 ` Cong Wang
2018-01-17 8:59 ` Jiri Pirko [this message]
2018-01-16 15:33 ` [patch net-next v10 03/13] net: sched: avoid usage of tp->q in tcf_classify Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 04/13] net: sched: introduce block mechanism to handle netif_keep_dst calls Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 05/13] net: sched: remove classid and q fields from tcf_proto Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 06/13] net: sched: keep track of offloaded filters and check tc offload feature Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 07/13] net: sched: use block index as a handle instead of qdisc when block is shared Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 08/13] net: sched: introduce ingress/egress block index attributes for qdisc Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 09/13] net: sched: allow ingress and clsact qdiscs to share filter blocks Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 10/13] mlxsw: spectrum_acl: Reshuffle code around mlxsw_sp_acl_ruleset_create/destroy Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 11/13] mlxsw: spectrum_acl: Don't store netdev and ingress for ruleset unbind Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 12/13] mlxsw: spectrum_acl: Implement TC block sharing Jiri Pirko
2018-01-16 15:33 ` [patch net-next v10 13/13] mlxsw: spectrum_acl: Pass mlxsw_sp_port down to ruleset bind/unbind ops Jiri Pirko
2018-01-16 15:34 ` [patch iproute2 net-next v10 1/4] include: update rtnetlink header according to kernel Jiri Pirko
2018-01-16 15:34 ` [patch iproute2 net-next v10 2/4] tc: introduce tc_qdisc_block_exists helper Jiri Pirko
2018-01-16 15:34 ` [patch iproute2 net-next v10 3/4] tc: introduce support for block-handle for filter operations Jiri Pirko
2018-01-16 15:34 ` [patch iproute2 net-next v10 4/4] tc: implement ingress/egress block index attributes for qdiscs Jiri Pirko
2018-01-16 23:33 ` [patch net-next v10 00/13] net: sched: allow qdiscs to share filter block instances Jamal Hadi Salim
2018-01-16 23:37 ` David Ahern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180117085950.GA2114@nanopsycho \
--to=jiri@resnulli.us \
--cc=alexander.h.duyck@intel.com \
--cc=andrew@lunn.ch \
--cc=daniel@iogearbo \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=ganeshgr@chelsio.com \
--cc=idosch@mellanox.com \
--cc=jakub.kicinski@netronome.com \
--cc=jhs@mojatatu.com \
--cc=john.fastabend@gmail.com \
--cc=john.hurley@netronome.com \
--cc=leonro@mellanox.com \
--cc=matanb@mellanox.com \
--cc=michael.chan@broadcom.com \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=pieter.jansenvanvuuren@netronome.com \
--cc=saeedm@mellanox.com \
--cc=simon.horman@netronome.com \
--cc=vivien.didelot@savoirfairelinux.com \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).