Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-30 Thread Tan, Jianfeng
On 9/30/2017 4:18 PM, Yuanhan Liu wrote: On Thu, Sep 28, 2017 at 08:09:38AM +, Tan, Jianfeng wrote: Actually, the key (and typical) issue of multi-process here is the fds are process specific, while they are stored in the shared memory. That means only one will take effect eventually. Wors

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-30 Thread Yuanhan Liu
On Thu, Sep 28, 2017 at 08:09:38AM +, Tan, Jianfeng wrote: > > Actually, the key (and typical) issue of multi-process here is the fds are > > process specific, while they are stored in the shared memory. That means > > only one will take effect eventually. Worse, the old ones are lost. > > > >

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-28 Thread Tan, Jianfeng
> -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Wednesday, September 27, 2017 5:36 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; maxime.coque...@redhat.com; mtetsu...@gmail.com > Subject: Re: [PATCH 10/12] vhost: support to kick in secondary process > > On Fri

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-27 Thread Tan, Jianfeng
> -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Wednesday, September 27, 2017 5:36 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; maxime.coque...@redhat.com; mtetsu...@gmail.com > Subject: Re: [PATCH 10/12] vhost: support to kick in secondary process > > On Fri

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-27 Thread Yuanhan Liu
On Fri, Sep 22, 2017 at 02:30:21AM +, Tan, Jianfeng wrote: > > > > -Original Message- > > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > > Sent: Thursday, September 21, 2017 5:18 PM > > To: Tan, Jianfeng > > Cc: dev@dpdk.org; maxime.coque...@redhat.com; mtetsu...@gmail.com > > Subj

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-21 Thread Tan, Jianfeng
> -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Thursday, September 21, 2017 5:18 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; maxime.coque...@redhat.com; mtetsu...@gmail.com > Subject: Re: [PATCH 10/12] vhost: support to kick in secondary process > > On Thu,

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-21 Thread Yuanhan Liu
On Thu, Sep 21, 2017 at 03:04:39PM +0800, Tan, Jianfeng wrote: > >On Fri, Aug 25, 2017 at 09:40:50AM +, Jianfeng Tan wrote: > >>To support kick in secondary process, we propose callfd_pri and > >>kickfd_pri to store the value in primary process; and by a new > >>API, rte_vhost_set_vring_effecti

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-21 Thread Tan, Jianfeng
On 9/21/2017 11:33 AM, Yuanhan Liu wrote: Firstly, very sorry for so late review! That is understood. On Fri, Aug 25, 2017 at 09:40:50AM +, Jianfeng Tan wrote: To support kick in secondary process, we propose callfd_pri and kickfd_pri to store the value in primary process; and by a ne

Re: [dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-09-20 Thread Yuanhan Liu
Firstly, very sorry for so late review! On Fri, Aug 25, 2017 at 09:40:50AM +, Jianfeng Tan wrote: > To support kick in secondary process, we propose callfd_pri and > kickfd_pri to store the value in primary process; and by a new > API, rte_vhost_set_vring_effective_fd(), we can set effective >

[dpdk-dev] [PATCH 10/12] vhost: support to kick in secondary process

2017-08-25 Thread Jianfeng Tan
To support kick in secondary process, we propose callfd_pri and kickfd_pri to store the value in primary process; and by a new API, rte_vhost_set_vring_effective_fd(), we can set effective callfd and kickfd which can be used by secondary process. Note in this case, either primary process or the se