From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATCH net-next,v6 08/12] flow_offload: add wake-up-on-lan and queue to flow_action Date: Sat, 15 Dec 2018 10:55:19 -0800 Message-ID: <33283e3e-9173-7b17-292c-91fb864164d8@gmail.com> References: <20181214181205.28812-1-pablo@netfilter.org> <20181214181205.28812-9-pablo@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: davem@davemloft.net, thomas.lendacky@amd.com, ariel.elior@cavium.com, michael.chan@broadcom.com, santosh@chelsio.com, madalin.bucur@nxp.com, yisen.zhuang@huawei.com, salil.mehta@huawei.com, jeffrey.t.kirsher@intel.com, tariqt@mellanox.com, saeedm@mellanox.com, jiri@mellanox.com, idosch@mellanox.com, jakub.kicinski@netronome.com, peppe.cavallaro@st.com, grygorii.strashko@ti.com, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, alexandre.torgue@st.com, joabreu@synopsys.com, linux-net-drivers@solarflare.com, ganeshgr@chelsio.com, ogerlitz@mellanox.com, Manish.Chopra@cavium.com, marcelo.leitner@gmail.com, mkubecek@suse.cz, venkatkumar.duvvuru@broadcom.com, julia.lawall@lip6.fr, john.fastabend@gmail.com, jhs@mojatatu.com, gerlitz.or@gmail.com To: Pablo Neira Ayuso , netdev@vger.kernel.org Return-path: Received: from mail-ot1-f68.google.com ([209.85.210.68]:33460 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbeLOSzZ (ORCPT ); Sat, 15 Dec 2018 13:55:25 -0500 Received: by mail-ot1-f68.google.com with SMTP id i20so8646630otl.0 for ; Sat, 15 Dec 2018 10:55:24 -0800 (PST) In-Reply-To: <20181214181205.28812-9-pablo@netfilter.org> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Le 12/14/18 à 10:12 AM, Pablo Neira Ayuso a écrit : > These actions need to be added to support the ethtool_rx_flow interface. > The queue action includes a field to specify the RSS context, that is > set via FLOW_RSS flow type flag and the rss_context field in struct > ethtool_rxnfc, plus the corresponding queue index. FLOW_RSS implies that > rss_context is non-zero, therefore, queue.ctx == 0 means that FLOW_RSS > was not set. Also add a field to store the vf index which is stored in > the ethtool_rxnfc ring_cookie field. > > Signed-off-by: Pablo Neira Ayuso Reviewed-by: Florian Fainelli -- Florian