From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 90324DE4 for ; Tue, 23 Jun 2015 11:07:03 +0200 (CEST) Received: by wicnd19 with SMTP id nd19so99416243wic.1 for ; Tue, 23 Jun 2015 02:07:03 -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=+JpuNuFQ9oXj6IPijnnvxxTjJRlSQebyVE0KYyHDSSw=; b=OBZxomwAYqhWT137KGGv70WCzvXazs6uu9YyKu9E503TY93F/8l03A1Oo3/mTfx1xH d6k5hdYT9bjyDkA4SNH/wfEaOMhPOrS6ge4zqkMOMtP+uAib95TpL+zKtW6pIII1DKjY zcl1Q7sB7AORBoVfWz6OvJyIJ5z90O5QglPCO4GOCf5ADYtBGNYF2WnSm9vK2o2ZBybp eQh0pcWfNUDChaZfSa0QyrdYeJqARBPI/QjqTpMZdMT9OxO6yOEGNj+qr60Fdl6qG1Rj sgP8wWOppufR2TDTE6qqHeycZ73LHYfgAAPJqZEJWNddyaaSsiFxHLAsQ9RzqVXiPmwz Klng== X-Gm-Message-State: ALoCoQkPI+HN1/iswgAyS2yF6jjnhtbCgSfWpZujZFEd1VVXTQw+lSlyxGoUuESarKA6g1IpZW3v X-Received: by 10.194.121.100 with SMTP id lj4mr50505119wjb.104.1435050423419; Tue, 23 Jun 2015 02:07:03 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id q9sm21319170wiz.23.2015.06.23.02.07.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 02:07:02 -0700 (PDT) From: Thomas Monjalon To: Jijiang Liu Date: Tue, 23 Jun 2015 11:05:59 +0200 Message-ID: <4096525.EIJIlCU1EQ@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1434991265-20384-2-git-send-email-jijiang.liu@intel.com> References: <1434991265-20384-1-git-send-email-jijiang.liu@intel.com> <1434991265-20384-2-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 v5 01/10] examples/tep_termination:initialize the VXLAN sample 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, 23 Jun 2015 09:07:03 -0000 2015-06-23 00:40, Jijiang Liu: > examples/Makefile | 1 + > examples/tep_termination/Makefile | 55 ++ > examples/tep_termination/main.c | 1130 +++++++++++++++++++++++++++++++++++++ > examples/tep_termination/main.h | 123 ++++ > 4 files changed, 1309 insertions(+), 0 deletions(-) MAINTAINERS file is missing in this list. [...] > +static inline int > +validate_nb_devices(uint32_t max_nb_devices) > +{ > + if (nb_devices > max_nb_devices) { > + RTE_LOG(ERR, VHOST_PORT, "invalid number of devices\n"); > + return -1; > + } > + return 0; > +} It must be removed to build with clang: this function is unused.