Re: [dpdk-dev] Question about vhost user interrupt mode

2020-02-26 Thread William Tu
On Tue, Feb 25, 2020 at 5:51 PM Tiwei Bie wrote: > > On Tue, Feb 25, 2020 at 12:44:48PM -0800, Yifeng Sun wrote: > > > > > > +int rte_vhost_get_kickfd(int vid, uint16_t queue_id) > > Introducing rte_vhost_get_kickfd() may not help much, we already > have rte_vhost_get_vhost_vring() to do that. > >

Re: [dpdk-dev] Question about vhost user interrupt mode

2020-02-26 Thread Yifeng Sun
Hi Tiwei, Thanks a lot for your comment. I will take a look at rte_vhost_get_vhost_vring. Best, Yifeng On Tue, Feb 25, 2020 at 5:51 PM Tiwei Bie wrote: > > On Tue, Feb 25, 2020 at 12:44:48PM -0800, Yifeng Sun wrote: > > > > > > +int rte_vhost_get_kickfd(int vid, uint16_t queue_id) > > Introduci

Re: [dpdk-dev] Question about vhost user interrupt mode

2020-02-25 Thread Tiwei Bie
On Tue, Feb 25, 2020 at 12:44:48PM -0800, Yifeng Sun wrote: > > > > +int rte_vhost_get_kickfd(int vid, uint16_t queue_id) Introducing rte_vhost_get_kickfd() may not help much, we already have rte_vhost_get_vhost_vring() to do that. https://github.com/DPDK/dpdk/blob/d7142fbae16f/drivers/net/vhost/

Re: [dpdk-dev] Question about vhost user interrupt mode

2020-02-25 Thread Yifeng Sun
+ Tiwei and Maxime Thanks, Yifeng On Fri, Feb 21, 2020 at 2:32 PM Yifeng Sun wrote: > > Hi all, > > Right now on OVS, dpdkvhostuser can only run in polling mode (please > correct me if I am wrong). We are trying to enable interrupt mode of > dpdkvhostuser type port on OVS. We found that, with ch

[dpdk-dev] Question about vhost user interrupt mode

2020-02-22 Thread Yifeng Sun
Hi all, Right now on OVS, dpdkvhostuser can only run in polling mode (please correct me if I am wrong). We are trying to enable interrupt mode of dpdkvhostuser type port on OVS. We found that, with changes below, OVS can poll&block on exposed kickfd and vhostuser is working under interrupt mode wi