ethdev: fix non-reconfigurable pmd init
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 <ee2fa8b2681c737f775687e475dcbf2028a412f1@6wind.com>
Acked-by: Ivan Boule <8408c61bea57ac94dd0d4dac44b115be1b288952@6wind.com>

phermansson/dpdk,phermansson/dpdk,phermansson/dpdk,phermansson/dpdk