[dpdk-dev] [PATCH] net/ice: enable CVL DCF device reset API

Zhang, Qi Z qi.z.zhang at intel.com
Mon Sep 6 03:17:15 CEST 2021



> -----Original Message-----
> From: Yu, DapengX <dapengx.yu at intel.com>
> Sent: Wednesday, September 1, 2021 1:26 PM
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Yu, DapengX <dapengx.yu at intel.com>
> Subject: [PATCH] net/ice: enable CVL DCF device reset API
> 
> From: Dapeng Yu <dapengx.yu at intel.com>
> 
> DCF PMD needs to support rte_eth_dev_reset, the reason is when a DCF
> instance is killed, all the flow rules still exists in hardware, when DCF gets to
> reconnect, it already lost the flow context, and if the application wants to
> create new rules, it may fail due to firmware reports rules already exist.
> 
> The rte_eth_dev_reset API provides a more elegant way for the application to
> reset DCF when reconnect happens.
> 
> Signed-off-by: Dapeng Yu <dapengx.yu 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