From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by dpdk.org (Postfix) with ESMTP id C700C5A5D for ; Mon, 24 Aug 2015 15:09:01 +0200 (CEST) Received: by oieu201 with SMTP id u201so6842246oie.2 for ; Mon, 24 Aug 2015 06:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bOwd1edfye32j0RA82IOcI8Hj5WKmKqpNS+HbTXf9XE=; b=NHp1xid8Q7T0/4KFP38x/nD2ASsa7A1oA14PdaBHeDPIjhHCqN3g2dDkVHG25DOvjh oMA81bjqRgzX4En0tEFbUY96fLilENO3++5zOEJqMLeJahe/I4FhucwXtLbhnRLYjd4s +3aNABIuxNRiGyuYSZS4EXtpi+U0peuX7raUM0OZe8XEp7APp9NSGKRyeZYo6ByNSSsc FTuCWSLYPbVeeFpY15L2Un29DHpTA0Oygnys6s/wfdo4K9+B/2f4otWK3eFrSam7yrXP BrE/g6ekcdWYliElznQJiCS1W5xcTRBmvIjOKTi8iwuTuFTBRsXv76hGqetA0wUx2brP IX0g== MIME-Version: 1.0 X-Received: by 10.202.172.87 with SMTP id v84mr19691881oie.51.1440421741125; Mon, 24 Aug 2015 06:09:01 -0700 (PDT) Received: by 10.202.63.69 with HTTP; Mon, 24 Aug 2015 06:09:01 -0700 (PDT) Date: Mon, 24 Aug 2015 21:09:01 +0800 Message-ID: From: leo zhu To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Why the offloads of the guest's virtio-net network adapter are disabled when vhost-user is used? 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: Mon, 24 Aug 2015 13:09:02 -0000 Hi all, I am running the vhost sample application on my server. According to the dpdk-sample-applications-user-guide.pdf, I run the Virtual Machine with vhost-user enabled. Following is the command that is used to run the virtual machine. *qemu-system-x86_64 /root/leo/ubuntu-1.img -enable-kvm -m 1024 -vnc :5 -chardev \socket,id=char1,path=/root/leo/dpdk-2.0.0/examples/vhost/usvhost -netdev type=vhost-user, \id=mynet1,chardev=char1,vhostforce -device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1 \-object memory-backend-file,id=mem,size=1024M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc* After the Virtual Machine is started, I found the offloads of the Virtual Machine's virtio-net network adapter are all disabled*.* The offloads status is checked with command* ethtool -k eth0*. I try to enables the offloads with ethtool command, but it does not work. My questions are: 1. Can the offloads of the guest's virtio-net network adapter be enabled when vhost-user is used? 2. If the offloads can't be enabled when vhost-user is used, what is the reason? It will be great if someone from the forum could give the answers and clues. Thanks. Leo