From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v2] vhost/crypto: fix incorrect copy Date: Fri, 9 Nov 2018 15:51:57 +0100 Message-ID: <169cbc5b-509f-3800-9b0c-653d8b8f6952@redhat.com> References: <20181024131826.6842-1-roy.fan.zhang@intel.com> <20181106162248.5172-1-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Fan Zhang , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 267A1493D for ; Fri, 9 Nov 2018 15:52:01 +0100 (CET) In-Reply-To: <20181106162248.5172-1-roy.fan.zhang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/6/18 5:22 PM, Fan Zhang wrote: > This patch fixes the incorrect packet content copy in the > chaining mode. Originally the content before cipher offset is > overwritten by all zeros. This patch fixes the problem by > making sure the correct write back source and destination > settings during set up. > > Signed-off-by: Fan Zhang > --- > v2: > - fixed a write back size error bug. > > lib/librte_vhost/vhost_crypto.c | 460 ++++++++++++++++++++++++++++++---------- > 1 file changed, 348 insertions(+), 112 deletions(-) > Applied to dpdk-next-virtio/master Thanks, Maxime