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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Sep 16 11:48:32 CEST 2013


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 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>

pushed, thanks

-- 
Thomas


More information about the dev mailing list