[dpdk-dev] [PATCH v5 3/4] examples: add l3fwd-thread example in performance-thread

Betts, Ian ian.betts at intel.com
Thu Dec 3 18:18:42 CET 2015



-----Original Message-----
From: Stephen Hemminger [mailto:stephen at networkplumber.org] 
Sent: Thursday, December 3, 2015 4:33 PM
To: Betts, Ian
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev] [PATCH v5 3/4] examples: add l3fwd-thread example in performance-thread

On Thu,  3 Dec 2015 09:28:24 +0000
ibetts <ian.betts at intel.com> wrote:

>> +#define NB_MBUF RTE_MAX(\
>> +		(nb_ports*nb_rx_queue*RTE_TEST_RX_DESC_DEFAULT +       \
>> +		nb_ports*nb_lcores*MAX_PKT_BURST +                     \
>> +		nb_ports*n_tx_queue*RTE_TEST_TX_DESC_DEFAULT +         \
>> +		nb_lcores*MEMPOOL_CACHE_SIZE),                         \
>> +		(unsigned)8192)

> function or at least add white space.

This is code inherited from the legacy l3fwd app from which this app  is derived.
I would prefer to leave it as is for consistencies sake.



More information about the dev mailing list