From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <haifeng.lin@huawei.com> Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [58.251.152.64]) by dpdk.org (Postfix) with ESMTP id 848475A33 for <dev@dpdk.org>; Sun, 9 Oct 2016 12:53:33 +0200 (CEST) Received: from 172.24.1.136 (EHLO szxeml422-hub.china.huawei.com) ([172.24.1.136]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DSF73085; Sun, 09 Oct 2016 18:46:58 +0800 (CST) Received: from [127.0.0.1] (10.177.20.223) by szxeml422-hub.china.huawei.com (10.82.67.152) with Microsoft SMTP Server id 14.3.235.1; Sun, 9 Oct 2016 18:46:53 +0800 To: Yuanhan Liu <yuanhan.liu@linux.intel.com>, <dev@dpdk.org> References: <1471939839-29778-1-git-send-email-yuanhan.liu@linux.intel.com> CC: Maxime Coquelin <maxime.coquelin@redhat.com> From: linhaifeng <haifeng.lin@huawei.com> Message-ID: <57FA2014.1020904@huawei.com> Date: Sun, 9 Oct 2016 18:46:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1471939839-29778-1-git-send-email-yuanhan.liu@linux.intel.com> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.20.223] X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH 0/6] vhost: add Tx zero copy support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Sun, 09 Oct 2016 10:53:34 -0000 在 2016/8/23 16:10, Yuanhan Liu 写道: > The basic idea of Tx zero copy is, instead of copying data from the > desc buf, here we let the mbuf reference the desc buf addr directly. Is there problem when push vlan to the mbuf which reference the desc buf addr directly? We know if guest use virtio_net(kernel) maybe skb has no headroom.