* [dpdk-dev] Unable to bring up VF interface at guest when using DPDK PMD driver on host
@ 2014-10-13 19:55 Shian-Tung Wong
0 siblings, 0 replies; only message in thread
From: Shian-Tung Wong @ 2014-10-13 19:55 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-13 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13 19:55 [dpdk-dev] Unable to bring up VF interface at guest when using DPDK PMD driver on host Shian-Tung Wong
DPDK patches and discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
dev@dpdk.org
public-inbox-index dev
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://inbox.dpdk.org/inbox.dpdk.dev
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git