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

Ivan Boule ivan.boule at 6wind.com
Mon Sep 16 11:43:51 CEST 2013


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 at initial configuration.
>
> Move the FUNC_PTR_OR_ERR_RET check into the case of reconfiguration.
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
>
Acked-by: Ivan Boule <ivan.boule at 6wind.com>

-- 
Ivan Boule
6WIND Development Engineer



More information about the dev mailing list