From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/4] ethdev: Add vTEP encap/decap actions Date: Thu, 05 Apr 2018 18:42:10 +0200 Message-ID: <6080546.OoGlZRrAI8@xps> References: <20180405135148.16388-1-declan.doherty@intel.com> <20180405135148.16388-3-declan.doherty@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Alex Rosenbaum , Ferruh Yigit , Shahaf Shuler , Qi Zhang , Alejandro Lucero , Andrew Rybchenko , Mohammad Abdul Awal , Remy Horton , John McNamara , Rony Efraim , Jingjing Wu , Wenzhuo Lu , Yuanhan Liu , Bruce Richardson To: Declan Doherty Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 399551CD36 for ; Thu, 5 Apr 2018 18:42:13 +0200 (CEST) In-Reply-To: <20180405135148.16388-3-declan.doherty@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/04/2018 15:51, Declan Doherty: > +/** > + * RTE_FLOW_ACTION_TYPE_VTEP_ENCAP > + * > + * Virtual tunnel end-point encapsulation action data. > + * > + * Non-terminating action by default. > + */ > +struct rte_flow_action_vtep_encap { > + struct rte_flow_action_item { > + enum rte_flow_item_type type; > + /**< Flow item type. */ > + const void *item; > + /**< Flow item definition. */ > + } *pattern; > + /**< > + * vTEP pattern specification (list terminated by the END pattern item). > + */ > +}; > + > +/** > + * RTE_FLOW_ACTION_TYP_VTEP_DECAP > + * > + * Virtual tunnel end-point decapsulation action data. > + * > + * Non-terminating action by default. > + */ > +struct rte_flow_action_vtep_decap { > + enum rte_flow_item_type type; > + /**< > + * Flow item type of virtual tunnel end-point to be decapsulated > + */ > +}; Question about the naming: Why using the terminology VTEP instead of TUNNEL simply? I probably miss something, but tunnel encap/decap looks simpler to me.