From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH net-next,v6 08/12] flow_offload: add wake-up-on-lan and queue to flow_action Date: Fri, 14 Dec 2018 20:17:06 +0100 Message-ID: <20181214191706.GD30755@nanopsycho> References: <20181214181205.28812-1-pablo@netfilter.org> <20181214181205.28812-9-pablo@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, davem@davemloft.net, thomas.lendacky@amd.com, f.fainelli@gmail.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, To: Pablo Neira Ayuso Return-path: Received: from mail-wr1-f66.google.com ([209.85.221.66]:33286 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730123AbeLNTYa (ORCPT ); Fri, 14 Dec 2018 14:24:30 -0500 Received: by mail-wr1-f66.google.com with SMTP id c14so6521577wrr.0 for ; Fri, 14 Dec 2018 11:24:28 -0800 (PST) Content-Disposition: inline In-Reply-To: <20181214181205.28812-9-pablo@netfilter.org> Sender: netdev-owner@vger.kernel.org List-ID: Fri, Dec 14, 2018 at 07:12:01PM CET, pablo@netfilter.org wrote: >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 Acked-by: Jiri Pirko