Re: [PATCH v8 1/4] ethdev: support device error recovery notification

2022-09-22 Thread fengchengwen
Hi Thomas, On 2022/6/21 15:04, Thomas Monjalon wrote: > 21/06/2022 03:38, fengchengwen: >> Hi Thomas, >> >> On 2022/6/21 1:42, Thomas Monjalon wrote: >>> 16/06/2022 11:41, Chengwen Feng: --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3928,6 +3928,12 @@ enum rte_eth_

Re: [PATCH v8 1/4] ethdev: support device error recovery notification

2022-06-23 Thread Ray Kinsella
Chengwen Feng writes: > From: Kalesh AP > > Some PMDs (e.g. hns3) could detect hardware or firmware errors, and try > to recover from the errors. In this process, the PMD sets the data path > pointers to dummy functions (which will prevent the crash), and also > make sure the control path oper

Re: [PATCH v8 1/4] ethdev: support device error recovery notification

2022-06-21 Thread Thomas Monjalon
21/06/2022 03:38, fengchengwen: > Hi Thomas, > > On 2022/6/21 1:42, Thomas Monjalon wrote: > > 16/06/2022 11:41, Chengwen Feng: > >> --- a/lib/ethdev/rte_ethdev.h > >> +++ b/lib/ethdev/rte_ethdev.h > >> @@ -3928,6 +3928,12 @@ enum rte_eth_event_type { > >> * @see rte_eth_rx_avail_thresh_set()

Re: [PATCH v8 1/4] ethdev: support device error recovery notification

2022-06-20 Thread Thomas Monjalon
16/06/2022 11:41, Chengwen Feng: > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -3928,6 +3928,12 @@ enum rte_eth_event_type { >* @see rte_eth_rx_avail_thresh_set() >*/ > RTE_ETH_EVENT_RX_AVAIL_THRESH, > + /** Port recovering from a hardware or firmwar