Re: [dpdk-dev] [PATCH v2] net/i40e: remove redundant code

2018-12-13 Thread Zhang, Qi Z
> -Original Message- > From: Yan, Zhirun > Sent: Thursday, December 13, 2018 8:49 PM > To: dev@dpdk.org; Zhang, Qi Z > Cc: Yan, Zhirun ; Wang, Haiyue > Subject: [PATCH v2] net/i40e: remove redundant code > > Before this patch, there are two functions will call i40e_dev_free_queues to

[dpdk-dev] [PATCH v2] net/i40e: remove redundant code

2018-12-12 Thread Zhirun Yan
Before this patch, there are two functions will call i40e_dev_free_queues to free queues. For rte_eth_dev_close(), its redundant because of duplication. For rte_eth_dev_reset() its redundant because of not necessary, since following dev_configure is required after dev_reset and it will be updated c

[dpdk-dev] [PATCH v2] net/i40e: remove redundant code

2018-12-12 Thread Zhirun Yan
Before this patch, there are two functions will call i40e_dev_free_queues to free queues. For rte_eth_dev_close(), its redundant because of duplication. For rte_eth_dev_reset() its redundant because of not necessary, since following dev_configure is required after dev_reset and it will be updated c