[dpdk-dev] [PATCH v4 1/3] ethdev: fix invalid device configuration after failure

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 13 18:49:49 CET 2018


On 11/13/2018 11:19 AM, Andrew Rybchenko wrote:
> On 11/13/18 2:12 PM, Ferruh Yigit wrote:
>> From: Wenzhuo Lu <wenzhuo.lu at intel.com>
>>
>> The new configuration is stored during the rte_eth_dev_configure() API
>> but the API may fail. After failure stored configuration will be
>> invalid since it is not fully applied to the device.
>>
>> We better roll the configuration back after failure.
>>
>> Fixes: af75078fece3 ("first public release")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>
> 

Series applied to dpdk-next-net/master, thanks.


More information about the dev mailing list