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

Zhang, Qi Z qi.z.zhang at intel.com
Thu Dec 13 10:57:41 CET 2018



> -----Original Message-----
> From: Yan, Zhirun
> Sent: Thursday, December 13, 2018 8:49 PM
> To: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: Yan, Zhirun <zhirun.yan at intel.com>; Wang, Haiyue <haiyue.wang at intel.com>
> Subject: [PATCH v2] net/i40e: remove redundant code
> 
> 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 correctly.
> 
> This patch removes redundant code in i40e_dev_free_queues().
> 
> Fixes: 6b4537128394 ("i40e: free queue memory when closing")
> 
> Signed-off-by: Zhirun Yan <zhirun.yan at intel.com>
> Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the dev mailing list