From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by dpdk.org (Postfix) with ESMTP id 816415963 for ; Thu, 29 Oct 2015 13:44:32 +0100 (CET) Received: by oifu63 with SMTP id u63so30803763oif.2 for ; Thu, 29 Oct 2015 05:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/AL+j30BZjz07Dh55IZJw38PqHP+5Cr1NMKAc4L/9A0=; b=aGhjenJlCshF32SwBvjE3n5MQg0pro8d01IwWwoue8MWN7XoRxjP5zM5VDkTMkHtTl 39OjIJ8+/AW1HFRkN1AgZ4JHrbvVlpv8Izx0exSPbzixS8zv7mPN7XMv+6fqSIBZbd8O 2Xldx4/fh0AKVJd7FGLWeiv4VVPb5B1jLmjD/1/SNrqsIjLfyTd3DllNKYFBCPYNIK90 V1IlkcbCjW+xLs1dhRZeuqsj4xUKek33PCweiKFgedoGJcN30nPJi1gvuFc2hOXF42Xl UBeV3OUgAIGoLPelTNHQ5InDjWD0Uil8vSl8Hsav1XaDGNQ6vaEgYptWQkQJfug+8FLC VZjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/AL+j30BZjz07Dh55IZJw38PqHP+5Cr1NMKAc4L/9A0=; b=OBjEIOCDu0kNp/+BcTLAcqkJ0Uj4GLzCi0jgGNAuyFQ6GJDaPuNN+Wds5RPTNudeDc 9zUI/WqEnh2A06DMO58bU1PTRhK88/U7ky6DvQgzXxc15ezAL/Qz33Koe3TuZD3z52SS Y5Pu9US2NuGnfPtMs/jgDxKi2FzqA+l/bkG6hNrYlEwSc4EB00caFr2uUSE/QEN/L0l7 Em5zV4o6YEeuwga9jouIZKu3VbQt3/aupCTJXBwWtGzP7l2D2ml6EYz1BgXMmdPiHLT+ Uz2t4p6ukKJ0FvWvOYBWznX1yuBAEezswtapX3yRMO8wlb5rKvZgBsr2KXAPkN2zzgdg w0mQ== X-Gm-Message-State: ALoCoQmvbml2KbBSYBDmBWR+LzX7ySIzVSSqEb/kZHrpKU3wxX9yiDiAvx3M7xTrRv26c281oODB MIME-Version: 1.0 X-Received: by 10.60.173.42 with SMTP id bh10mr807781oec.58.1446122671859; Thu, 29 Oct 2015 05:44:31 -0700 (PDT) Received: by 10.76.131.166 with HTTP; Thu, 29 Oct 2015 05:44:31 -0700 (PDT) In-Reply-To: <1445402801-27806-4-git-send-email-jijiang.liu@intel.com> References: <1445402801-27806-1-git-send-email-jijiang.liu@intel.com> <1445402801-27806-4-git-send-email-jijiang.liu@intel.com> Date: Thu, 29 Oct 2015 13:44:31 +0100 Message-ID: From: David Marchand To: Jijiang Liu Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 3/8] driver/virtio:add vhost TX offload support capability in virtio-net 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, 29 Oct 2015 12:44:32 -0000 Hello Jijiang, On Wed, Oct 21, 2015 at 6:46 AM, Jijiang Liu wrote: > Add vhost TX checksum and TSO capabilities in virtio-net lib. > > Signed-off-by: Jijiang Liu > --- > drivers/net/virtio/virtio_ethdev.h | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/virtio/virtio_ethdev.h > b/drivers/net/virtio/virtio_ethdev.h > index 9026d42..6ee95c6 100644 > --- a/drivers/net/virtio/virtio_ethdev.h > +++ b/drivers/net/virtio/virtio_ethdev.h > @@ -64,7 +64,10 @@ > 1u << VIRTIO_NET_F_CTRL_VQ | \ > 1u << VIRTIO_NET_F_CTRL_RX | \ > 1u << VIRTIO_NET_F_CTRL_VLAN | \ > - 1u << VIRTIO_NET_F_MRG_RXBUF) > + 1u << VIRTIO_NET_F_MRG_RXBUF | \ > + 1u << VIRTIO_NET_F_HOST_TSO4 | \ > + 1u << VIRTIO_NET_F_HOST_TSO6 | \ > + 1u << VIRTIO_NET_F_CSUM) > > You did not update tx offload capabilities field in dev_info. -- David Marchand