DPDK patches and discussions
 help / color / mirror / Atom feed
From: Tiwei Bie <tiwei.bie@intel.com>
To: "Yu, Jin" <jin.yu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"Liu, Changpeng" <changpeng.liu@intel.com>,
	"maxime.coquelin@redhat.com" <maxime.coquelin@redhat.com>,
	"Wang, Zhihong" <zhihong.wang@intel.com>,
	LinLi <lilin24@baidu.com>, XunNi <nixun@baidu.com>,
	YuZhang <zhangyu31@baidu.com>
Subject: Re: [dpdk-dev] [PATCH v2 1/2] vhost: support inflight share memory protocol feature
Date: Thu, 11 Jul 2019 12:09:03 +0800	[thread overview]
Message-ID: <20190711040903.GA27138@___> (raw)
In-Reply-To: <B9FBC361811A3D4DBB02350807E29F7B0B930741@SHSMSX101.ccr.corp.intel.com>

On Thu, Jul 11, 2019 at 10:39:46AM +0800, Yu, Jin wrote:
> > On Thu, Jul 11, 2019 at 10:09:26AM +0800, Yu, Jin wrote:
> > [...]
> > > > > +int __rte_experimental
> > > > > +rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
> > > > > +		uint16_t idx);
> > > > [...]
> > > > > +int __rte_experimental
> > > > > +rte_vhost_clr_inflight_desc_split(int vid, uint16_t vring_idx,
> > > > > +		uint16_t last_used_idx, uint16_t idx);
> > > > [...]
> > > > > +int __rte_experimental
> > > > > +rte_vhost_set_last_inflight_io_split(int vid, uint16_t vring_idx,
> > > > > +		uint16_t idx);
> > > >
> > > > What will be different in the function prototype when we design
> > > > above three APIs for packed ring?
> > > The whole process is quite different as there are no avail ring and userd
> > ring.
> > 
> > I mean what will be different in the return value and parameters?
> > Could you show us the expected function prototypes (i.e. just the function
> > declarations) for packed ring?
> Sorry I am not sure, I am working on this.

It doesn't matter :)
But please consider it as part of the work in this series,
as it would be helpful for us to design the APIs if we know
the expected APIs for packed ring.

Thanks,
Tiwei

  reply	other threads:[~2019-07-11  4:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190708183959.50293>
2019-07-10 10:43 ` JinYu
2019-07-10  7:18   ` Tiwei Bie
2019-07-11  2:09     ` Yu, Jin
2019-07-11  2:18       ` Tiwei Bie
2019-07-11  2:39         ` Yu, Jin
2019-07-11  4:09           ` Tiwei Bie [this message]
2019-07-10 10:43   ` [dpdk-dev] [PATCH v2 2/2] vhost: Add vhost-user-blk example which support inflight JinYu
2019-07-10  7:26     ` Tiwei Bie
2019-07-11  2:23       ` Yu, Jin
2019-07-11  4:08         ` Tiwei Bie
2019-07-11 12:11           ` Yu, Jin
2019-06-26 16:38 [dpdk-dev] [PATCH] [v1]vhost: support inflight share memory protocol feature JinYu
2019-07-08 17:53 ` [dpdk-dev] [PATCH] [v2, 1/2]vhost: " JinYu
2019-07-08 18:00   ` JinYu
2019-07-08 18:16   ` [dpdk-dev] [PATCH v2] [1/2]vhost: " JinYu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190711040903.GA27138@___ \
    --to=tiwei.bie@intel.com \
    --cc=changpeng.liu@intel.com \
    --cc=dev@dpdk.org \
    --cc=jin.yu@intel.com \
    --cc=lilin24@baidu.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=nixun@baidu.com \
    --cc=zhangyu31@baidu.com \
    --cc=zhihong.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).