From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id DF66D56B7 for ; Fri, 25 Sep 2015 10:30:32 +0200 (CEST) Received: by wicge5 with SMTP id ge5so10236376wic.0 for ; Fri, 25 Sep 2015 01:30:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=+HY901RpvfEnuOgbldOYJAO+BT9m5IYfnq0lgVQoXNY=; b=lOMmTOJO86qVxHDyiYnPXwPpm5nLc1hALZks9QVV0B/lIG5AYleR+Yvyo0LG/7gM4U Nx8oaUu79a7k7oQce1RYlOZ3Ydsv4/38X+U41j7pUkinrlMuoQJ15N7WWK1wiQxi15GM y7SzEK2vR/S8j/f1g39XtD9qAbdeks3e4D+L6WkGkijPm52R+gJIISuhCyE0kNfAY5Vc v+1+FvguxeOpte/RMY7YfHL7z0WeMwW5QBs03og5B5si4V9gL+PxyzvzenI4YXsSysgZ fLwbBHKYU6EatuiuJO6xEiE9Urnx8D38fphPsP1+vLwivb20IvLbz45oAGACp179fH1+ EcmA== X-Gm-Message-State: ALoCoQnifHLECutAncjGDyKWQtBWh106K2tk+8NuUkDuBAIG4m+6Db2JUzzDrNHLTPFOfwIIrOV3 X-Received: by 10.194.112.104 with SMTP id ip8mr4635507wjb.131.1443169831071; Fri, 25 Sep 2015 01:30:31 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id s16sm2070904wik.13.2015.09.25.01.30.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Sep 2015 01:30:30 -0700 (PDT) From: Thomas Monjalon To: "Lu, Wenzhuo" Date: Fri, 25 Sep 2015 10:29:23 +0200 Message-ID: <2029453.TNiofpvo9A@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC090902091223@shsmsx102.ccr.corp.intel.com> References: <1443161125-1035-1-git-send-email-wenzhuo.lu@intel.com> <2216065.qpkPQE5WLk@xps13> <6A0DE07E22DDAD4C9103DF62FEBC090902091223@shsmsx102.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 08:30:34 -0000 2015-09-25 08:14, Lu, Wenzhuo: > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > +/** > > > + * A structure used to define the input for VxLAN NVGRE flow */ > > > +struct rte_eth_cloud_flow { > > > + enum rte_eth_fdir_tunnel_type tunnel_type; /**< Tunnel type to match. > > */ > > > + uint32_t tni_vni; /**< TNI or VNI to match. */ > > > > Isn't it Intel-specific? > > I think only the word "cloud" is specific. It's for VxLAN and NVGRE packets. If someone else wants to use it for another kind of tunnel (neither VXLAN neither NVGRE), identifier or tunnel_id would be more generic than tni_vni.