From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 428DE7E99 for ; Thu, 23 Oct 2014 13:02:42 +0200 (CEST) Received: by mail-wi0-f171.google.com with SMTP id em10so3803988wid.4 for ; Thu, 23 Oct 2014 04:11:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=BO6ssHZAdFyGERc7u+5uhMOL5aRttacHOsIxEIfLUmg=; b=AL4m0RHnn2ug7OkaaueZl2yhnDq2CHRNFLIV3SPGWk0x2zLI+bd7xJrOY4TNci590m cjkJUCyDO0eBXB+/QQvCFO5FfZs36i1i64kcyeGGANOu9ltfKkrIOUlrOWxXBs84n4Fm dWj2reszf2VUmUFuqwtUUX+/uHRlKEINFfvejNx2j00zaIaHR95dVmaTwLWaNM3gIuf0 uL4Sj+1RzCJVztryEqOaRN00xTGb/RZK0ouxgUxWcS+6pl8Ym7DkvcPWvOhn52GyBlxQ bK8GILEomogAK5Z3roMCjuuNtlcnx8U+gXGanjFSYAfV4ErIRdtjaNlw3NCuEV6kfpQt YUxw== X-Gm-Message-State: ALoCoQmJnzjfkA+YA1tOZ91oQaaLeGU4UAKZNerNDdYqD9dIgUeh8KjtZGl90x25NdpCRwb2dgzd X-Received: by 10.194.76.135 with SMTP id k7mr4843005wjw.94.1414062666709; Thu, 23 Oct 2014 04:11:06 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ga7sm2217315wic.5.2014.10.23.04.11.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Oct 2014 04:11:06 -0700 (PDT) From: Thomas Monjalon To: Huawei Xie Date: Thu, 23 Oct 2014 13:10:49 +0200 Message-ID: <1616656.Y0V9bK64Pk@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.16.4-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <1413779906-28113-1-git-send-email-huawei.xie@intel.com> References: <1413779906-28113-1-git-send-email-huawei.xie@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 00/14] new vhost example 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: Thu, 23 Oct 2014 11:02:42 -0000 2014-10-20 12:38, Huawei Xie: > New vhost example is a transform of old vhost example. > It calls vhost library API to receive/transmit packets from guest VM. > zero copy logic is kept in vhost example. > > Huawei Xie (14): > copy old vhost example files main.c/main.h as the base of new vhost example > remove virtio_dev_(merge_)rx, copy_from_mbuf_to_ring, virtio_dev_(merge_)tx > add hpa region check and generation functions > dev->vdev > hpa region generation in new_device > call rte_vhost_enqueue_burst, rte_vhost_dequeue_burst API. Add mac learning and retry logic > patch virtio_tx_route > remove gpa_to_vva, base_index > other APIs > vmdq_rx_q change > minimal changes > add branch hint > disalbe RTE_IXGBE_INC_VEC as workaround for merge-able feature > add example Makefile > > examples/vhost/Makefile | 60 + > examples/vhost/main.c | 3051 +++++++++++++++++++++++++++++++++++++++++++++++ > examples/vhost/main.h | 122 ++ I've cleaned up your patchset a bit and applied it. Thanks -- Thomas