From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: [RFC PATCH 0/1] macvtap TX zero copy between guest and host kernel Date: Mon, 13 Sep 2010 13:43:00 -0700 Message-ID: <1284410580.13351.10.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: xiaohui.xin@intel.com, netdev@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity , Arnd Bergmann , mst@redhat.com Return-path: Received: from e9.ny.us.ibm.com ([32.97.182.139]:38424 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754101Ab0IMUnH (ORCPT ); Mon, 13 Sep 2010 16:43:07 -0400 Sender: netdev-owner@vger.kernel.org List-ID: This patch induces a new sock flag ZEROCOPY to avoid copy between userspace and kernel. macvtap is the first user of zero copy between guest and host kernel. It only uses when the lower device supports high memory DMA. The first set of patch only addresses transmission TX side. The test has shown big improvement on either CPU utilization reduction or BW increase on 10GbE Intel NIC. Performance data will be submitted in the coming email. thanks Shirley