[dpdk-dev] [PATCH v2] examples: remove useless checking

2016-05-16 Thread Thomas Monjalon
> > The rte_eth_dev_count() function will never return a value greater > > than RTE_MAX_ETHPORTS, so that checking is useless. > > > > Signed-off-by: Mauricio Vasquez B > studenti.polito.it> > > Acked-by: Ferruh Yigit Applied, thanks

[dpdk-dev] [PATCH v2] examples: remove useless checking

2016-05-04 Thread Ferruh Yigit
On 5/3/2016 10:16 PM, Mauricio Vasquez B wrote: > The rte_eth_dev_count() function will never return a value greater > than RTE_MAX_ETHPORTS, so that checking is useless. > > Signed-off-by: Mauricio Vasquez B studenti.polito.it> > --- > v2: > Add missed case in examples/kni/main.c Acked-by: Fer

[dpdk-dev] [PATCH v2] examples: remove useless checking

2016-05-03 Thread Mauricio Vasquez B
The rte_eth_dev_count() function will never return a value greater than RTE_MAX_ETHPORTS, so that checking is useless. Signed-off-by: Mauricio Vasquez B --- v2: Add missed case in examples/kni/main.c app/proc_info/main.c | 4 app/test/test_pmd_perf.c