From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes Date: Fri, 25 Sep 2015 09:00:39 +0200 Message-ID: <2216065.qpkPQE5WLk@xps13> References: <1443161125-1035-1-git-send-email-wenzhuo.lu@intel.com> <1443161125-1035-2-git-send-email-wenzhuo.lu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Wenzhuo Lu Return-path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 74A7C8E6F for ; Fri, 25 Sep 2015 09:01:45 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so9009325wic.1 for ; Fri, 25 Sep 2015 00:01:45 -0700 (PDT) In-Reply-To: <1443161125-1035-2-git-send-email-wenzhuo.lu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-09-25 14:05, Wenzhuo Lu: > +enum rte_fdir_mode { > + RTE_FDIR_MODE_NONE = 0, /**< Disable FDIR support. */ > + RTE_FDIR_MODE_SIGNATURE, /**< Enable FDIR signature filter mode. */ > + RTE_FDIR_MODE_PERFECT, /**< Enable FDIR perfect filter mode for IP. */ > + RTE_FDIR_MODE_PERFECT_MAC_VLAN, /**< Enable FDIR filter mode - MAC VLAN. */ > + RTE_FDIR_MODE_PERFECT_CLOUD, /**< Enable FDIR filter mode - cloud. */ > +}; I know that some Intel NICs use the terminology "cloud" in their datasheet, but it is meaningless. [...] > +/** > + * 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? > + struct ether_addr mac_addr; /**< Mac address to match. */ > +}; So it is a tunnel, currently only VXLAN or NVGRE. And this kind of tunnel can be used in a cloud datacenter, yes. Or elsewhere. Please use the "tunnel" word.