From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com
 [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 399551CD36
 for <dev@dpdk.org>; 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: <xms:5FHGWo_mtOEu10Q-JPKRLTtur0-z8Dt1Mi-bG6Y4RWs8tP2-utqzmQ>
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 <thomas@monjalon.net>
To: Declan Doherty <declan.doherty@intel.com>
Cc: dev@dpdk.org, Alex Rosenbaum <alexr@mellanox.com>,
 Ferruh Yigit <ferruh.yigit@intel.com>, Shahaf Shuler <shahafs@mellanox.com>,
 Qi Zhang <qi.z.zhang@intel.com>,
 Alejandro Lucero <alejandro.lucero@netronome.com>,
 Andrew Rybchenko <arybchenko@solarflare.com>,
 Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>,
 Remy Horton <remy.horton@intel.com>, John McNamara <john.mcnamara@intel.com>,
 Rony Efraim <ronye@mellanox.com>, Jingjing Wu <jingjing.wu@intel.com>,
 Wenzhuo Lu <wenzhuo.lu@intel.com>, Yuanhan Liu <yliu@fridaylinux.org>,
 Bruce Richardson <bruce.richardson@intel.com>
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 <dev.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=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.