From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5B85EA0524; Wed, 2 Jun 2021 10:41:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB9544069F; Wed, 2 Jun 2021 10:41:13 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 4156040689 for ; Wed, 2 Jun 2021 10:41:12 +0200 (CEST) IronPort-SDR: G6jh51uFVhoZUaAPi9zeowRZDztzc1D/bbSxKuXXnQ5ZqSN3WPReoNeB1wddkxyjF+0ma5ZCAy hXmr1RTpi0QA== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="183419195" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="183419195" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 01:41:09 -0700 IronPort-SDR: b6qWLtktvBch0PS3cw610XFpma9Z97ymr90EAB8WcmmP/bbrv3EMuoEsvztHuOCYv03tEW7OZv EK+wK9atS2PA== X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="479625782" Received: from unknown (HELO localhost.localdomain) ([10.240.183.50]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 01:41:07 -0700 From: Yuan Wang To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, chenbo.xia@intel.com, cheng1.jiang@intel.com, Yuan Wang Date: Wed, 2 Jun 2021 08:31:09 +0000 Message-Id: <20210602083110.5530-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/1] lib/vhost: support async dequeue for split ring X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading large copies to the DMA engine, thus saving precious CPU cycles. Yuan Wang (1): lib/vhost: support async dequeue for split ring doc/guides/prog_guide/vhost_lib.rst | 10 + examples/vhost/ioat.c | 30 +- examples/vhost/ioat.h | 3 + examples/vhost/main.c | 60 +-- lib/vhost/rte_vhost_async.h | 44 ++- lib/vhost/version.map | 3 + lib/vhost/virtio_net.c | 549 ++++++++++++++++++++++++++++ 7 files changed, 664 insertions(+), 35 deletions(-) -- 2.25.1