From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 2/4 v3] add vector PMD TX for FVL Date: Tue, 3 Nov 2015 13:20:11 -0800 Message-ID: <20151103132011.6b08ba3f@xeon-e3> 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 To: Zhe Tao 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) In-Reply-To: <1446210115-13927-3-git-send-email-zhe.tao@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" 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.