From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E2E7DA055A; Thu, 27 Feb 2020 03:31:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B026C1BFB1; Thu, 27 Feb 2020 03:31:12 +0100 (CET) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by dpdk.org (Postfix) with ESMTP id 5040C1BFAB for ; Thu, 27 Feb 2020 03:31:11 +0100 (CET) Received: by mail-qk1-f176.google.com with SMTP id q18so1699723qki.10 for ; Wed, 26 Feb 2020 18:31:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vvZt1ylbmtjJvQKDPSDRh4iWrY5FAo6PqMHjQ1GNmTY=; b=RKt+7dXUOGlcGEiYnoyEtHl/NHOUnUdyrbpZsKK9pZzQG2OwzoH/5J2z/3f7Pm/7Bu pZr7OWGeQrRFdnNFtsZ+eV8VAzegl7RJRBzQE+Mgihe9MBBkl3GQZUNJ3jLoyZBH0LFW +FrjTU9J9XFACKawEEj3qupfqsJQCe5KKojuMJW9AKelS1NTiRQSs9S/BG8vCFbEpyt+ I2opx9+KzNGm/RuHGJVfjJW04RLaMm3nlhOPDQNFbiQ1AG/nDETp0Y6EYCmi9giyHvP/ 5mRM/Fz8ct5+lHyEx99bYfR/2EHk6n3q7sSyTFHUoG3HhIcaHswxiN3rcKFxQ6lesjoz a9MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vvZt1ylbmtjJvQKDPSDRh4iWrY5FAo6PqMHjQ1GNmTY=; b=RsidUaEUDyQVJ2KOxWZMFSHw73u33VWRl3hOuise0KENJaV+wv8YSmiHw3U8kBRDBm xAeXBcFLOiujDBSoLL5/3sj1sWkTAian2t6KCGPmiY3/fofD8cqPb23f+X74QockLNma Sze9aR7prVJ7pIKF1cu5dK2R3tY8U8nbB2o1xTyRIlqkBP+SpXBo1Upi4E8Fx0ZzkXm/ LiO8TQvjZu3Fhd5W5D/dTVmW7+wBHIeC5GUe927tZWy+wehF9+XtBLy4ezqsAskdXYy+ 7O0qJwWlzDCrdnoleTEgL8m8RXhkxAkZhQM1DqhEJSmzIkShgITtIvtUOOtJ/B58gNfy mXVQ== X-Gm-Message-State: APjAAAV6UTca7QL0uOEA2VCXelK2ICxkcrqAo1PYv3Ys4at+ktIIlxmF Ka74i/Hv3w0ZgmH19rgAWwfiRleGlw1aO5AxlKc= X-Google-Smtp-Source: APXvYqy82Atlq4uIDlG5tRdymnkBCV7MvJkTe/rr8nW9w/6u9t8kziI5JW6VzCAn0J08IaXWp2CQ/SFjrekHZQC9zZ4= X-Received: by 2002:a37:b602:: with SMTP id g2mr2744414qkf.174.1582770670431; Wed, 26 Feb 2020 18:31:10 -0800 (PST) MIME-Version: 1.0 References: <20200226015110.GA32777@___> In-Reply-To: <20200226015110.GA32777@___> From: William Tu Date: Wed, 26 Feb 2020 18:30:32 -0800 Message-ID: To: Tiwei Bie Cc: Yifeng Sun , dev@dpdk.org, Maxime Coquelin , zhihong.wang@intel.com, Xiaolong Ye Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] Question about vhost user interrupt mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. > > https://github.com/DPDK/dpdk/blob/d7142fbae16f/drivers/net/vhost/rte_eth_vhost.c#L628-L644 > Hi Tiwei, Thanks for your feedback. I'd like to learn about the event index feature of vhost. Is there any document we can read to understand it? Thanks William