From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by dpdk.org (Postfix) with ESMTP id 1286C8E88 for ; Tue, 3 Nov 2015 22:20:00 +0100 (CET) Received: by padhx2 with SMTP id hx2so21302784pad.1 for ; Tue, 03 Nov 2015 13:19:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber_org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=hTd4A2VK4GMF3ewj26C+4py9F3G6S+UgZq1E34OPX2A=; b=ezruNAXEGtnA/oVYDdhesB5Dy8418ceFezepkgpWoKQWoyk5Pm6V8AsTsoE8Js5Bt+ Yw/6rCdo19FVEI85JjzPnGD5KrFD+TYwy+K73sxbWjmNU8wUr/AfWYa/8l/9LTqfTXX6 0qLhsxAuzaRpoCqCocgaGTwcX87NY14eTkfuXtnVK53gVYuA3LxTsOOZo2P0M14lpwdD 49L3+sajGSRRK1rQdBQ99UGttpA5hIXNKdASPyFSYgBRT7Xzd3ECY4OR5RfUqNQy9fPx uW4RVVMRPjZEpDqvIEY+FUxmSmxnazOFWD0Ht8oLM1ckGR8Qq4m8BOu7DDOsy92MKdlY Gjsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=hTd4A2VK4GMF3ewj26C+4py9F3G6S+UgZq1E34OPX2A=; b=DV7ucCaS2VXfkGbypGJprIgPL5AromLBMe5sZVkWnfZ2OcyWsJKEIy9PjAgRSgidzk IvjEzbAxlsVs46PML0/XTFs9HmctOVa8CJQsIYB7uVYspsdTejbYY04RCijzdmleURRa U4mM6qcyN0n/bFj/x74yMbKHfOr6G+z6Gumv728fGTtlGERazCLZ85dkqRhKtBK91giv Y4fyXELKLSQyqQXRW+rWoDgXYHbEhi3Dbxr/LZYIKN0Rn3oxKFiyVrtzqWt7yKWlQ9S/ C/TfOJA6qXmUR75zYkZ+DiL6HW0amL6LBIvch6jC6h025GNSbrIq9N6JA5jk9Psy7eF+ WeXw== X-Gm-Message-State: ALoCoQlTEbq5IuBSmIRCycLnKSAO87lVAiIJzMgPLK5yuBQrMZNknEvKp083FNRwu+/ArIBAI4Wg X-Received: by 10.68.114.66 with SMTP id je2mr21838781pbb.50.1446585599428; Tue, 03 Nov 2015 13:19:59 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id nu5sm31157661pbb.65.2015.11.03.13.19.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Nov 2015 13:19:59 -0800 (PST) Date: Tue, 3 Nov 2015 13:20:11 -0800 From: Stephen Hemminger To: Zhe Tao Message-ID: <20151103132011.6b08ba3f@xeon-e3> In-Reply-To: <1446210115-13927-3-git-send-email-zhe.tao@intel.com> References: <1446202336-8723-1-git-send-email-zhe.tao@intel.com> <1446210115-13927-1-git-send-email-zhe.tao@intel.com> <1446210115-13927-3-git-send-email-zhe.tao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 2/4 v3] add vector PMD TX for FVL 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, 03 Nov 2015 21:20:00 -0000 On Fri, 30 Oct 2015 21:01:53 +0800 Zhe Tao wrote: > static inline int __attribute__((always_inline)) > +i40e_tx_free_bufs(struct i40e_tx_queue *txq) > +{ > + struct i40e_tx_entry *txep; > + uint32_t n; > + uint32_t i; > + int nb_free = 0; > + struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ]; Although C variable and function namespaces are different. It is best not to name variables the same as std library functions to avoid typo errors.