[dpdk-dev] [PATCH] ethdev: fix non-reconfigurable pmd init

2013-09-16 Thread Thomas Monjalon
16/09/2013 11:43, Ivan Boule : > On 09/13/2013 03:38 PM, Thomas Monjalon wrote: > > Some Poll-Mode Drivers (PMD) are not reconfigurable and, > > thus, do not implement (rx|tx)_queue_release functions. > > For these drivers, the functions rte_eth_dev_(rx|tx)_queue_config > > must return an ENOTSUP e

[dpdk-dev] [PATCH] ethdev: fix non-reconfigurable pmd init

2013-09-16 Thread Ivan Boule
On 09/13/2013 03:38 PM, Thomas Monjalon wrote: > Some Poll-Mode Drivers (PMD) are not reconfigurable and, > thus, do not implement (rx|tx)_queue_release functions. > For these drivers, the functions rte_eth_dev_(rx|tx)_queue_config > must return an ENOTSUP error only when reconfiguring, > but not a

[dpdk-dev] [PATCH] ethdev: fix non-reconfigurable pmd init

2013-09-13 Thread Thomas Monjalon
Some Poll-Mode Drivers (PMD) are not reconfigurable and, thus, do not implement (rx|tx)_queue_release functions. For these drivers, the functions rte_eth_dev_(rx|tx)_queue_config must return an ENOTSUP error only when reconfiguring, but not at initial configuration. Move the FUNC_PTR_OR_ERR_RET ch