From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by dpdk.org (Postfix) with ESMTP id 3277B58DC for ; Mon, 13 Oct 2014 21:47:59 +0200 (CEST) Received: by mail-oi0-f51.google.com with SMTP id h136so14329404oig.10 for ; Mon, 13 Oct 2014 12:55:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Rn5WSnSYt0Si05IhCtuKp3/MlfrNzTbp3DX9lze4E8E=; b=bAvbWba7QWLmdDgyWKyOg6myg51JdV8xTwKUhDM8BUEWeKaF1FphuizF4d8c4eyd4G 7yUl6b4t16bubb5VZAxo+TWlLENdypHpfbwvhUQ34G/6dQzlGboN7pJI/DbsLehqo/T7 l3tRvvX6ovJ5HJrLnAF8fXRGFqpOswfamGuNYEAalAjij0KgtRX1SkehAD0IV7/b/Mo4 JEGx/9pTUuNS/L0EAwcpquF5i2GvILKNnulb3WIOfx61c5046QUxSv+nb+QGTtPWy9bQ IYCbT8JB+hslEoTB/16e1YygUE+nl6AhTKpduPzT8jE7loRQsxI6V0nhScFfVnTaTeDH 4k8Q== X-Gm-Message-State: ALoCoQk1kTIi+z67CwhzUUth+QbVCBvSzjazgA50z8wygayMgx9bbw5/Fh8ScFMgkY1DLG3a1eEt MIME-Version: 1.0 X-Received: by 10.182.130.232 with SMTP id oh8mr509912obb.49.1413230139553; Mon, 13 Oct 2014 12:55:39 -0700 (PDT) Received: by 10.76.19.68 with HTTP; Mon, 13 Oct 2014 12:55:39 -0700 (PDT) Date: Mon, 13 Oct 2014 12:55:39 -0700 Message-ID: From: Shian-Tung Wong To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Unable to bring up VF interface at guest when using DPDK PMD driver on host 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, 13 Oct 2014 19:47:59 -0000 I create 7 Virtual Functions on 82599 using DPDK PMD PF ixgbe driver on a host as stated in the DPDK programming guide: modprobe uio insmod ./build/kmod/igb_uio.ko ./pci_unbind.py -b igb_uio 0000:02:00.1 echo 7 > /sys/bus/pci/devices/0000\:02\:00.1/max_vfs Then I assign a VF to a KVM guest using "-device pci-assign,host=02:10.1". When login to the guest, I see the interface in "ip addr" command, but the interface is down. I try to bring it up, but I can't: [DPDK-1.6.0]# ifconfig eth1 up SIOCSIFFLAGS: Network is down On the host, I do configure the port up (using ifconfig) before creating the virtual functions. On the guest, I invoke rte_eal_init() with the port, I got this MAC error: PMD: The MAC address is not valid. The most likely cause of this error is that the VM host has not assigned a valid MAC address to this VF device. Please consult the DPDK Release Notes (FAQ section) for a possible solution to this problem. Any help is appreciated. Regards, Shian