From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH net-next,v6 09/12] ethtool: add ethtool_rx_flow_spec to flow_rule structure translator Date: Fri, 14 Dec 2018 20:21:43 +0100 Message-ID: <20181214192143.GE30755@nanopsycho> References: <20181214181205.28812-1-pablo@netfilter.org> <20181214181205.28812-10-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-wm1-f65.google.com ([209.85.128.65]:40150 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730405AbeLNT3H (ORCPT ); Fri, 14 Dec 2018 14:29:07 -0500 Received: by mail-wm1-f65.google.com with SMTP id q26so6856232wmf.5 for ; Fri, 14 Dec 2018 11:29:05 -0800 (PST) Content-Disposition: inline In-Reply-To: <20181214181205.28812-10-pablo@netfilter.org> Sender: netdev-owner@vger.kernel.org List-ID: Fri, Dec 14, 2018 at 07:12:02PM CET, pablo@netfilter.org wrote: >This patch adds a function to translate the ethtool_rx_flow_spec >structure to the flow_rule representation. > >This allows us to reuse code from the driver side given that both flower >and ethtool_rx_flow interfaces use the same representation. > >This patch also includes support for the flow type flags FLOW_EXT, >FLOW_MAC_EXT and FLOW_RSS. > >The ethtool_rx_flow_spec_input wrapper structure is used to convey the >rss_context field, that is away from the ethtool_rx_flow_spec structure, >and the ethtool_rx_flow_spec structure. > >Signed-off-by: Pablo Neira Ayuso Acked-by: Jiri Pirko