[PATCH v5] vdpa/ifc: fix update_datapath error handling
Xia, Chenbo
chenbo.xia at intel.com
Thu Nov 10 07:12:02 CET 2022
> -----Original Message-----
> From: Taekyung Kim <kim.tae.kyung at navercorp.com>
> Sent: Thursday, November 10, 2022 12:10 PM
> To: dev at dpdk.org
> Cc: Xia, Chenbo <chenbo.xia at intel.com>; Pei, Andy <andy.pei at intel.com>;
> kim.tae.kyung at navercorp.com; maxime.coquelin at redhat.com; stable at dpdk.org;
> Wang, Xiao W <xiao.w.wang at intel.com>
> Subject: [PATCH v5] vdpa/ifc: fix update_datapath error handling
>
> 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: stable at dpdk.org
>
> Signed-off-by: Taekyung Kim <kim.tae.kyung at navercorp.com>
> ---
> v5:
> * Resubmit to patchwork
>
> 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(-)
>
Thanks Kim for helping on resending.
Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
Will help you add Maxime and Andy's Reviewed-by/Acked-by in commit log
When applying.
Thanks,
Chenbo
More information about the stable
mailing list