[PATCH] vdpa/ifc: fix update_datapath error handling

2022-10-24 Thread Taekyung Kim
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. Signed-off-by: Taekyung Kim --- drivers/vdpa/ifc/ifcvf_vdpa.c | 20 1

[PATCH] vdpa/ifc: fix update datapath error handling

2022-10-24 Thread Taekyung Kim
Stop and return the error code if 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. Signed-off-by: Taekyung Kim --- drivers/vdpa/ifc/ifcvf_vdpa.c | 20 1 file

[PATCH] vdpa/ifc: fix update_datapath error handling

2022-10-24 Thread Taekyung Kim
Stop and return the error code if 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. Signed-off-by: Taekyung Kim --- drivers/vdpa/ifc/ifcvf_vdpa.c | 20 1 file

[PATCH v2] vdpa/ifc: fix update_datapath error handling

2022-11-06 Thread Taekyung Kim
ned-off-by: Taekyung Kim --- 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 | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/drivers/vdpa/ifc/ifcv

[PATCH v3] vdpa/ifc: fix update_datapath error handling

2022-11-07 Thread Taekyung Kim
ned-off-by: Taekyung Kim --- 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 | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/dr

Re: [PATCH v3] vdpa/ifc: fix update_datapath error handling

2022-11-07 Thread Taekyung Kim
Hi Chenbo, Thanks for your review. On Tue, Nov 08, 2022 at 01:46:37AM +, Xia, Chenbo wrote: > > -Original Message- > > From: Taekyung Kim > > Sent: Monday, November 7, 2022 5:00 PM > > To: dev@dpdk.org > > Cc: sta...@dpdk.org; maxime.coque...@redhat.com

Re: [PATCH v4] vdpa/ifc: fix update_datapath error handling

2022-11-09 Thread Taekyung Kim
Hi Maxime, Thanks for your review. On Tue, Nov 08, 2022 at 02:49:39PM +0100, Maxime Coquelin wrote: > 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 d

Re: [PATCH v4] vdpa/ifc: fix update_datapath error handling

2022-11-09 Thread Taekyung Kim
Hi Andy, Thanks for your review. On Wed, Nov 09, 2022 at 02:39:09AM +, Pei, Andy wrote: > > > > -Original Message- > > From: Taekyung Kim > > Sent: Tuesday, November 8, 2022 4:56 PM > > To: dev@dpdk.org > > Cc: Xia, Chenbo ; Pei, An

Re: [PATCH v4] vdpa/ifc: fix update_datapath error handling

2022-11-09 Thread Taekyung Kim
On Thu, Nov 10, 2022 at 01:53:50AM +, Xia, Chenbo wrote: > Hi Kim, > > > -Original Message- > > From: Taekyung Kim > > Sent: Tuesday, November 8, 2022 4:56 PM > > To: dev@dpdk.org > > Cc: Xia, Chenbo ; Pei, Andy ; > > kim.tae.ky...@nave

[PATCH v5] vdpa/ifc: fix update_datapath error handling

2022-11-09 Thread Taekyung Kim
ned-off-by: Taekyung Kim --- 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_v

Re: [PATCH v3] vdpa/ifc: fix update_datapath error handling

2022-11-10 Thread Taekyung Kim
On Tue, Nov 08, 2022 at 07:56:18AM +, Xia, Chenbo wrote: > > -Original Message- > > From: Pei, Andy > > Sent: Tuesday, November 8, 2022 3:39 PM > > To: Xia, Chenbo ; Taekyung Kim > > ; dev@dpdk.org > > Cc: sta...@dpdk.org; maxime.coque...@redhat.co

[PATCH v4] vdpa/ifc: fix update_datapath error handling

2022-11-10 Thread Taekyung Kim
ned-off-by: Taekyung Kim --- 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 fi

Re: [PATCH v4] vdpa/ifc: fix update_datapath error handling

2022-11-10 Thread Taekyung Kim
On Thu, Nov 10, 2022 at 10:38:55AM +0100, David Marchand wrote: > On Thu, Nov 10, 2022 at 10:34 AM Ali Alnubani wrote: > > > > I think the mail for v4 is lost. > > > > Whenever I send a patch, I received "Your message to dev awaits > > > moderator approval" > > > > from dev-ow...@dpdk.org with the