Re: [dpdk-dev] Question about hardware error handling policy

2021-07-25 Thread fengchengwen
Hi On 2021/7/25 23:12, Matan Azrad wrote: > Hi > > From: fengchengwen: >> On 2021/7/22 23:46, Thomas Monjalon wrote: >>> 22/07/2021 15:50, fengchengwen: Hi, all I notice ethdev support dev_reset ops, which could be used to recover from errors, and only 13+ drivers support

Re: [dpdk-dev] Question about hardware error handling policy

2021-07-25 Thread Matan Azrad
Hi From: fengchengwen: > On 2021/7/22 23:46, Thomas Monjalon wrote: > > 22/07/2021 15:50, fengchengwen: > >> Hi, all > >> > >> I notice ethdev support dev_reset ops, which could be used to > >> recover from errors, and only 13+ drivers support this function. > >> And also there is event fo

Re: [dpdk-dev] Question about hardware error handling policy

2021-07-23 Thread Andrew Rybchenko
On 7/23/21 3:33 PM, Ferruh Yigit wrote: On 7/22/2021 4:46 PM, Thomas Monjalon wrote: 22/07/2021 15:50, fengchengwen: Hi, all I notice ethdev support dev_reset ops, which could be used to recover from errors, and only 13+ drivers support this function. 'rte_eth_dev_reset()' can be used t

Re: [dpdk-dev] Question about hardware error handling policy

2021-07-23 Thread Thomas Monjalon
23/07/2021 14:33, Ferruh Yigit: > On 7/22/2021 4:46 PM, Thomas Monjalon wrote: > > 22/07/2021 15:50, fengchengwen: > >> Hi, all > >> > >> I notice ethdev support dev_reset ops, which could be used to recover > >> from > >> errors, and only 13+ drivers support this function. > > 'rte_eth_dev_r

Re: [dpdk-dev] Question about hardware error handling policy

2021-07-23 Thread Ferruh Yigit
On 7/22/2021 4:46 PM, Thomas Monjalon wrote: > 22/07/2021 15:50, fengchengwen: >> Hi, all >> >> I notice ethdev support dev_reset ops, which could be used to recover >> from >> errors, and only 13+ drivers support this function. 'rte_eth_dev_reset()' can be used to reset device config to defa

Re: [dpdk-dev] Question about hardware error handling policy

2021-07-22 Thread fengchengwen
On 2021/7/22 23:46, Thomas Monjalon wrote: > 22/07/2021 15:50, fengchengwen: >> Hi, all >> >> I notice ethdev support dev_reset ops, which could be used to recover >> from >> errors, and only 13+ drivers support this function. >> And also there is event for reset: RTE_ETH_EVENT_INTR_RESET,

Re: [dpdk-dev] Question about hardware error handling policy

2021-07-22 Thread Thomas Monjalon
22/07/2021 15:50, fengchengwen: > Hi, all > > I notice ethdev support dev_reset ops, which could be used to recover from > errors, and only 13+ drivers support this function. > And also there is event for reset: RTE_ETH_EVENT_INTR_RESET, and only 6 > drivers support it (most of them are VF

[dpdk-dev] Question about hardware error handling policy

2021-07-22 Thread fengchengwen
Hi, all I notice ethdev support dev_reset ops, which could be used to recover from errors, and only 13+ drivers support this function. And also there is event for reset: RTE_ETH_EVENT_INTR_RESET, and only 6 drivers support it (most of them are VF). This provides users with two ways to