[dpdk-dev] [PATCH v1] vhost: fix async callback return type define

2020-07-22 Thread patrick . fu
From: Patrick Fu The async copy device callbacks are used by async APIs to transfer data and check completion status. Async APIs return the number of packets successfully processed to the caller applications and no error (negative) value is allowed for API return value. Thus, negative return valu

Re: [dpdk-dev] [PATCH v1] vhost: fix async callback return type define

2020-07-27 Thread Xia, Chenbo
> -Original Message- > From: Fu, Patrick > Sent: Thursday, July 23, 2020 1:39 PM > To: dev@dpdk.org; maxime.coque...@redhat.com; Xia, Chenbo > > Cc: Fu, Patrick > Subject: [PATCH v1] vhost: fix async callback return type define > > From: Patrick Fu > > The async copy device callback

Re: [dpdk-dev] [PATCH v1] vhost: fix async callback return type define

2020-07-28 Thread Maxime Coquelin
On 7/23/20 7:39 AM, patrick...@intel.com wrote: > From: Patrick Fu > > The async copy device callbacks are used by async APIs to transfer data > and check completion status. Async APIs return the number of packets > successfully processed to the caller applications and no error (negative) > va

Re: [dpdk-dev] [PATCH v1] vhost: fix async callback return type define

2020-07-28 Thread Fu, Patrick
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, July 28, 2020 5:10 PM > To: Fu, Patrick ; dev@dpdk.org; Xia, Chenbo > > Subject: Re: [PATCH v1] vhost: fix async callback return type define > > > > On 7/23/20 7:39 AM, patrick...@intel.com wrote: > > From: Patri

Re: [dpdk-dev] [PATCH v1] vhost: fix async callback return type define

2020-07-28 Thread Maxime Coquelin
On 7/23/20 7:39 AM, patrick...@intel.com wrote: > From: Patrick Fu > > The async copy device callbacks are used by async APIs to transfer data > and check completion status. Async APIs return the number of packets > successfully processed to the caller applications and no error (negative) > va