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

2022-11-10 Thread Taekyung Kim
m; Wang, Xiao W > > > > Subject: RE: [PATCH v3] vdpa/ifc: fix update_datapath error handling > > > > Hi > > > > See my reply inline. > > > > > -Original Message- > > > From: Xia, Chenbo > > > Sent: Tuesday, November 8,

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

2022-11-07 Thread Xia, Chenbo
> -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.com; Wang, Xiao W > > Subject: RE: [PATCH v3] vdpa/ifc: fix update_datapath error hand

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

2022-11-07 Thread Taekyung Kim
; Xia, Chenbo > > ; Wang, Xiao W ; > > kim.tae.ky...@navercorp.com > > Subject: [PATCH v3] vdpa/ifc: fix update_datapath error handling > > > > Stop and return the error code when update_datapath fails. > > update_datapath prepares resources for the vdpa de

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

2022-11-07 Thread Pei, Andy
Hi See my reply inline. > -Original Message- > From: Xia, Chenbo > Sent: Tuesday, November 8, 2022 9:47 AM > To: Taekyung Kim ; dev@dpdk.org > Cc: sta...@dpdk.org; maxime.coque...@redhat.com; Wang, Xiao W > > Subject: RE: [PATCH v3] vdpa/ifc: fix update_da

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

2022-11-07 Thread Xia, Chenbo
> -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; Xia, Chenbo > ; Wang, Xiao W ; > kim.tae.ky...@navercorp.com > Subject: [PATCH v3] vdpa/ifc: fix update

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

2022-11-07 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. Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver") Cc: sta...@dpdk.org Signed-off-by: Tae