[dpdk-dev] [PATCH 2/4 v3] add vector PMD TX for FVL

Stephen Hemminger stephen at networkplumber.org
Tue Nov 3 22:20:11 CET 2015


On Fri, 30 Oct 2015 21:01:53 +0800
Zhe Tao <zhe.tao at intel.com> 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.


More information about the dev mailing list