From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B269B21254; Thu, 5 Apr 2018 12:42:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 05 Apr 2018 12:42:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=tEqji5a6exo+qw+P9konKDERD7 oZtIjaErG/1uCRF3M=; b=QSrTeZdHB8EiGmmYjVBRJU34hpCbo0Mem1s/tn3IVN pxXTpK/yFMHxDu+T6SEtictyN0A5B2zzYAMs9TM54cx1MnKYNJkKXSl/NSarnfir 5xEm3QDEWdnrwbMdrOdhwB6mBZG8g3glh8XHzDkd0gokD72xRdfglrREcf7zJODC 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=tEqji5 a6exo+qw+P9konKDERD7oZtIjaErG/1uCRF3M=; b=fzRL8UmDiW+JXnXMiXukuq cKC2TI4hui6ClFfQ4GYckKGLOnpFMxylZi4yEoo94XXNbwc8nmjYpmaq9fC7VEdO va4faz9KO4TlRfZJMuSws+lfZA8FfL4+Xz6WJk6gTOBayUPpxdZwtDv8tzjMGu+l ZqNqN1odLMLJ7RDvlDAil2ZGzoBUVtuEuLyL0c8ZpEyU+z71qf/DEclmlzyaCtW1 D6jVUnRP8SgrgPQ+BR6W8x4lAvstdr0zSlrXVy0NGieZLI4jCAoP1vVm1UACrTBH B8Pjte5b9YYU6TNfQg4dvHY9yTE9lB1K0ct75lLXHyKg1pCzZHPq3pK86j/gf/Bw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 01B0CE47F2; Thu, 5 Apr 2018 12:42:10 -0400 (EDT) From: Thomas Monjalon To: Declan Doherty 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 Date: Thu, 05 Apr 2018 18:42:10 +0200 Message-ID: <6080546.OoGlZRrAI8@xps> In-Reply-To: <20180405135148.16388-3-declan.doherty@intel.com> References: <20180405135148.16388-1-declan.doherty@intel.com> <20180405135148.16388-3-declan.doherty@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/4] ethdev: Add vTEP encap/decap actions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2018 16:42:13 -0000 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.