From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id A85BD7E99 for ; Tue, 21 Oct 2014 17:05:12 +0200 (CEST) Received: by mail-wi0-f169.google.com with SMTP id r20so2177278wiv.4 for ; Tue, 21 Oct 2014 08:13:26 -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=aVy48W4OQQHO103fmVW5OfqWthWjnMIHtlOiwT+E6Bo=; b=dY8x1Lrq+bWiMA+bbU9VqPQiz95ab/xY+LQ9MndzzhazSkjiKyIzYphOH1vYqcsL8q 74bHkF7EQ4Sz8SMve0Ct0mrLfvVx6z9zcqEXDxO+761GQsKzCzSLZQcso5H0t9jp1c7p b+M+dxz7nL9QBiRTFfMoDjUbZN1x5Ibb2pwY0emNsUWLx+sg4vLTBQ8DXw3StqhDVs3H xfBVKClEDuMfkURPZi1Ueig6h0UJ3vGq96tNlttUhoZxRVxrIydFS8jOybZJAr9qKMoO YRJQq309Ux/U/QLpD2gh53iIbZ3DuVkm7nly18E8BHCJ2NKUBLVSD/bHNVMNnPQglqV1 Ax9Q== X-Gm-Message-State: ALoCoQmGR4qCr5m9UGP7k9nuhMlIzrLB/j4qoHWpfPDxc9jvr8UTp706+t5eWZ8kq7GDVxLZ7tRM X-Received: by 10.180.90.237 with SMTP id bz13mr30608653wib.50.1413904406095; Tue, 21 Oct 2014 08:13:26 -0700 (PDT) Received: from xps13.localnet ([109.190.92.136]) by mx.google.com with ESMTPSA id j20sm9519395wjn.0.2014.10.21.08.13.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Oct 2014 08:13:25 -0700 (PDT) From: Thomas Monjalon To: Jijiang Liu Date: Tue, 21 Oct 2014 17:13:06 +0200 Message-ID: <1893361.J7EnPDFulE@xps13> Organization: 6WIND User-Agent: KMail/4.14.1 (Linux/3.16.4-1-ARCH; KDE/4.14.1; x86_64; ; ) In-Reply-To: <1413881168-20239-6-git-send-email-jijiang.liu@intel.com> References: <1413881168-20239-1-git-send-email-jijiang.liu@intel.com> <1413881168-20239-6-git-send-email-jijiang.liu@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 v6 5/9] librte_ether:add data structures of VxLAN filter 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: Tue, 21 Oct 2014 15:05:12 -0000 2014-10-21 16:46, Jijiang Liu: > +#define RTE_TUNNEL_FILTER_TO_QUEUE 1 /**< point to an queue by filter type */ Sorry, I don't understand what is this value for? > +#define RTE_TUNNEL_FILTER_IMAC_IVLAN (ETH_TUNNEL_FILTER_IMAC | \ > + ETH_TUNNEL_FILTER_IVLAN) > +#define RTE_TUNNEL_FILTER_IMAC_IVLAN_TENID (ETH_TUNNEL_FILTER_IMAC | \ > + ETH_TUNNEL_FILTER_IVLAN | \ > + ETH_TUNNEL_FILTER_TENID) > +#define RTE_TUNNEL_FILTER_IMAC_TENID (ETH_TUNNEL_FILTER_IMAC | \ > + ETH_TUNNEL_FILTER_TENID) > +#define RTE_TUNNEL_FILTER_OMAC_TENID_IMAC (ETH_TUNNEL_FILTER_OMAC | \ > + ETH_TUNNEL_FILTER_TENID | \ > + ETH_TUNNEL_FILTER_IMAC) I thought you agree that these definitions are useless? -- Thomas