From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: [PATCH RFC,net-next 08/10] flow_dissector: add wake-up-on-lan and queue to flow_action Date: Tue, 25 Sep 2018 21:19:59 +0200 Message-ID: <20180925192001.2482-9-pablo@netfilter.org> References: <20180925192001.2482-1-pablo@netfilter.org> Cc: 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, ganeshgr@chelsio.com, jakub.kicinski@netronome.com, linux-net-drivers@solarflare.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, joabreu@synopsys.com, grygorii.strashko@ti.com, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com To: netdev@vger.kernel.org Return-path: Received: from mail.us.es ([193.147.175.20]:49630 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbeIZB3d (ORCPT ); Tue, 25 Sep 2018 21:29:33 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id D15B118FCF9 for ; Tue, 25 Sep 2018 21:20:30 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id B63C7DA8FF for ; Tue, 25 Sep 2018 21:20:30 +0200 (CEST) In-Reply-To: <20180925192001.2482-1-pablo@netfilter.org> Sender: netdev-owner@vger.kernel.org List-ID: These actions need to be added to support bcm sf2 features available through the ethtool_rx_flow interface. Signed-off-by: Pablo Neira Ayuso --- include/net/flow_dissector.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h index 925c208816f1..7a4683646d5a 100644 --- a/include/net/flow_dissector.h +++ b/include/net/flow_dissector.h @@ -418,6 +418,8 @@ enum flow_action_key_id { FLOW_ACTION_KEY_ADD, FLOW_ACTION_KEY_CSUM, FLOW_ACTION_KEY_MARK, + FLOW_ACTION_KEY_WAKE, + FLOW_ACTION_KEY_QUEUE, }; /* This is mirroring enum pedit_header_type definition for easy mapping between @@ -452,6 +454,7 @@ struct flow_action_key { const struct ip_tunnel_info *tunnel; /* FLOW_ACTION_KEY_TUNNEL_ENCAP */ u32 csum_flags; /* FLOW_ACTION_KEY_CSUM */ u32 mark; /* FLOW_ACTION_KEY_MARK */ + u32 queue_index; /* FLOW_ACTION_KEY_QUEUE */ }; }; -- 2.11.0