Thomas Monjalon bc786a4e41 ethdev: fix non-reconfigurable pmd init
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 check into the case of reconfiguration.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
2014-02-26 11:07:28 +01:00
2014-02-26 11:01:14 +01:00
2013-03-07 10:57:42 +01:00
2014-02-25 21:29:18 +01:00
2013-07-25 14:43:06 +02:00
2014-02-25 21:29:18 +01:00
Description
No description provided
128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%