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

2018-11-13 Thread Ferruh Yigit
On 11/13/2018 11:19 AM, Andrew Rybchenko wrote: > On 11/13/18 2:12 PM, Ferruh Yigit wrote: >> From: Wenzhuo Lu >> >> 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 t

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

2018-11-13 Thread Andrew Rybchenko
On 11/13/18 2:12 PM, Ferruh Yigit wrote: From: Wenzhuo Lu 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 fai

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

2018-11-13 Thread Ferruh Yigit
From: Wenzhuo Lu 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 r