From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [patch net-next v9 07/13] net: sched: use block index as a handle instead of qdisc when block is shared Date: Tue, 16 Jan 2018 16:03:13 +0100 Message-ID: <20180116150313.GD2477@nanopsycho> References: <20180116133347.2207-1-jiri@resnulli.us> <20180116133347.2207-8-jiri@resnulli.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, jhs@mojatatu.com, xiyou.wangcong@gmail.com, mlxsw@mellanox.com, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, michael.chan@broadcom.com, ganeshgr@chelsio.com, saeedm@mellanox.com, matanb@mellanox.com, leonro@mellanox.com, idosch@mellanox.com, jakub.kicinski@netronome.com, simon.horman@netronome.com, pieter.jansenvanvuuren@netronome.com, john.hurley@netronome.com, alexander.h.duyck@intel.com, ogerlitz@mellanox.com, john.fastabend@gmail.com, daniel@iogearbox.net, dsahern@gmail.com, roopa@cumulusnetworks.com To: netdev@vger.kernel.org Return-path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:38991 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbeAPPDP (ORCPT ); Tue, 16 Jan 2018 10:03:15 -0500 Received: by mail-wr0-f194.google.com with SMTP id z48so15512632wrz.6 for ; Tue, 16 Jan 2018 07:03:14 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180116133347.2207-8-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org List-ID: Tue, Jan 16, 2018 at 02:33:41PM CET, jiri@resnulli.us wrote: >From: Jiri Pirko > >As the tcm_ifindex 0 is invalid ifindex, reuse it to indicate that we >work with block, instead of qdisc. So if tcm_ifindex is 0, tcm_parent is >used to carry block_index. Have to fix the value in this description. Will send v10. Sorry.