Hi Taekyung,
On 11/8/22 09:56, Taekyung Kim wrote:
Stop and return the error code when update_datapath fails.
update_datapath prepares resources for the vdpa device.
The driver should not perform any further actions
if update_datapath returns an error.
Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver")
Cc: sta...@dpdk.org
Signed-off-by: Taekyung Kim <kim.tae.ky...@navercorp.com>
---
v4:
* Add rte_vdpa_unregister_device in ifcvf_pci_probe
v3:
* Fix coding style
v2:
* Revert the prepared resources before returning an error
* Rebase to 22.11 rc2
* Add fixes and cc for backport
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
Thanks,
Maxime