From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by dpdk.org (Postfix) with ESMTP id 2F3232C06 for ; Tue, 18 Oct 2016 04:25:08 +0200 (CEST) Received: by mail-lf0-f51.google.com with SMTP id x79so328037114lff.0 for ; Mon, 17 Oct 2016 19:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=U40m/g5DuCpsahl+4Qc0TgUDHRNJoTbZca9S8VQ7rGY=; b=AEkMcL6BuwG4vxVJdG8FfBXgLoZ6ZX6ee80+JKgkns+zcwOG/VH+5a0n0Lauc00eqC GMc7ZewIna1AhDDgQ6/w1msjgLPW1VeYKni447UfEYWynNkq3lBeaSfcJkmFJnwlEHsV 7mU39P6N7T4NmGl4MfkZn1t6tQB/o8KJrqxYU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=U40m/g5DuCpsahl+4Qc0TgUDHRNJoTbZca9S8VQ7rGY=; b=YsoQf6Y9CpvVpNIyqX6e8r4F/din/S1WZX+DlryLH9fdCJIC8ZgGWw34M4+wEjef6V e6PBLqLCjl+jJcSnXgWglQcHdnAnFRG6ELgktksCmJsLbqFkHWUjHHMcmD88QTVdY1kq mlP1XahXWwTxrGm3EQoUp/l4VSUr6rJkSNw39szBPJxqXn/7OqExVjTjJiIIJghhz0yX 2G6CxqVHdcx3XChYf2uaDx0NU5Bt3W4mDoBlbdDexaGcSLyP3XcyzBssMvZrwT+RsAWl lxiuvRoks3/nbLBMI4VKlvaYSmL1ACBpWRM/Yp073+qXJHpa7+GUjY/uAgQQwLSPOEfR 2WIg== X-Gm-Message-State: AA6/9RlXYxSOUZga+ucO3Uk9CsINhK/PEFfeMiDNJbJ7qAPXtNkoOS+ML+omhHkZBk1KswmaIKz2A8H2VRRsoJTK X-Received: by 10.194.97.69 with SMTP id dy5mr12584016wjb.53.1476757507747; Mon, 17 Oct 2016 19:25:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.172.121 with HTTP; Mon, 17 Oct 2016 19:25:07 -0700 (PDT) In-Reply-To: <1476437678-7102-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1474336817-22683-1-git-send-email-zhihong.wang@intel.com> <1476437678-7102-1-git-send-email-yuanhan.liu@linux.intel.com> From: Jianbo Liu Date: Tue, 18 Oct 2016 10:25:07 +0800 Message-ID: To: Yuanhan Liu Cc: dev@dpdk.org, Maxime Coquelin Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] [PATCH v7 0/7] vhost: optimize mergeable Rx path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 02:25:08 -0000 On 14 October 2016 at 17:34, Yuanhan Liu wrote: > This is a new set of patches to optimize the mergeable Rx code path. > No refactoring (rewrite) was made this time. It just applies some > findings from Zhihong (kudos to him!) that could improve the mergeable > Rx path on the old code. ...... > --- > Yuanhan Liu (4): > vhost: simplify mergeable Rx vring reservation > vhost: use last avail idx for avail ring reservation > vhost: prefetch avail ring > vhost: retrieve avail head once > > Zhihong Wang (3): > vhost: remove useless volatile > vhost: optimize cache access > vhost: shadow used ring update > > lib/librte_vhost/vhost.c | 13 ++- > lib/librte_vhost/vhost.h | 5 +- > lib/librte_vhost/vhost_user.c | 23 +++-- > lib/librte_vhost/virtio_net.c | 193 +++++++++++++++++++++++++----------------- > 4 files changed, 149 insertions(+), 85 deletions(-) > Reviewed-by: Jianbo Liu