Received: by 10.192.165.148 with SMTP id m20csp182131imm; Tue, 1 May 2018 20:51:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrBe+5SiISdizEzPQXLTNhrc2DXPzI+knWTAKcnvXabNljyb5+rMsWcpV5s0CptIZ35cpTQ X-Received: by 2002:a63:9c09:: with SMTP id f9-v6mr15026925pge.274.1525233104456; Tue, 01 May 2018 20:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525233104; cv=none; d=google.com; s=arc-20160816; b=hhuvzzCZGIN79eNv4O2O1GLLDjc0/4b6sIVd1teLonEoZG72MK5/yPeSEX9ACrAfCF vjRG7rf2tSoMkKXOpORV44IfdEXDILSIgdOkPxXEl/OKcdFDAQjkEhc/JGsTxdfSodhC fWkuIeMBjjuwSVLA6jhz9wgx0Tww+Kn+N6pp0ghljoX0emy1zfcwgIdVetSJikGY4fB4 1EK5X/jJoFtIpo48mj71cbSzkNvV2I38yXdIKmcni8ZXf7qYCXWrDcAJ6qsOIwQJNw1z c3y6JGahvU4+XCqgDvcmUFN1Imm4pKBXJZ5IFd9bLCNHr7RsmJKhqG876ud7O+spX73V JtVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=K03Bc3N47EczccBPlmNEaRy3Ga6hTDEbgZzSwLs5Uc4=; b=PdfG0/g/9N6SzhNIgbA1MVX8QOGWdZcTw+c/Eb7j6p8xchlrw/DNU5Z8YDLfgAV50e zAiK5QRAESnyzEmixMDtlE5QhKqSpzC97fs3URRHMIJIYGYXJKCo98l8YUohWIq0wH0b 2K05eidI61SdtI4+cNWkYYhYERAvVGxb6slmaoHN7aWDix5LdpLmtExpp5h0yTT+1p7x 9FHa1DhpZdemlSUEm6oNiz0o5QimTH5t2Xz7onjJBvtkURoqz4kFVzMkCjw95J+GSa17 Fy+YLEN3QQFNAcZP63CKaqHuw1LMWWLZ8nO23tzR2sJfIHd/wHA2dV5Is7RL1VuPXmwC LKLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si6201949pgv.420.2018.05.01.20.51.28; Tue, 01 May 2018 20:51:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751080AbeEBDuB (ORCPT + 99 others); Tue, 1 May 2018 23:50:01 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:41166 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750859AbeEBDt6 (ORCPT ); Tue, 1 May 2018 23:49:58 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2E7B240858E6; Wed, 2 May 2018 03:49:58 +0000 (UTC) Received: from [10.72.12.79] (ovpn-12-79.pek2.redhat.com [10.72.12.79]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B6C72111762A; Wed, 2 May 2018 03:49:49 +0000 (UTC) Subject: Re: [RFC v3 0/5] virtio: support packed ring To: Tiwei Bie , mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: wexu@redhat.com, jfreimann@redhat.com References: <20180425051550.24342-1-tiwei.bie@intel.com> From: Jason Wang Message-ID: <31839145-3e87-2cc7-dfca-a09ae64b976a@redhat.com> Date: Wed, 2 May 2018 11:49:43 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180425051550.24342-1-tiwei.bie@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 02 May 2018 03:49:58 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 02 May 2018 03:49:58 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jasowang@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018年04月25日 13:15, Tiwei Bie wrote: > Hello everyone, > > This RFC implements packed ring support in virtio driver. > > Some simple functional tests have been done with Jason's > packed ring implementation in vhost: > > https://lkml.org/lkml/2018/4/23/12 > > Both of ping and netperf worked as expected (with EVENT_IDX > disabled). But there are below known issues: > > 1. Reloading the guest driver will break the Tx/Rx; It looks like the reason is we don't sync wrap counter information between host and qemu through VHOST_SET/GET_VRING_BASE. And both vhost and qemu need to do this through encoding warp counters to higher bits of vhost_vring_state.num, Thanks