[dpdk-dev] [PATCH v3 2/3] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-10 Thread Thomas Monjalon
Pablo, I have some minor nits on this patchset. If you agree, I can fix them before applying the patchset. 2014-10-01 10:49, Pablo de Lara: > +/** > + * Default values for port configuration > + */ > +#define IGB_DEFAULT_RX_FREE_THRESH 32 > +#define IGB_DEFAULT_RX_PTHRESH 8 > +#define

[dpdk-dev] [PATCH v3 2/3] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 10, 2014 12:14 PM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 2/3] pmd: Modified dev_info structure to >

[dpdk-dev] [PATCH v3 2/3] pmd: Modified dev_info structure to include default RX/TX configuration

2014-10-01 Thread Pablo de Lara
Many sample apps use duplicated code to set rte_eth_txconf and rte_eth_rxconf structures. This patch allows the user to get a default optimal RX/TX configuration through rte_eth_dev_info get, and still any parameters may be tweaked as wished, before setting up queues. Besides, if a NULL pointer