Ben,

I'm glad you got it to work - thanks for the info!

Interestingly, I had already modified those 4 lines in dpdk.mk from 'n' to 'y' 
and I still get the "EAL: Driver cannot attach the device" errors when starting 
VPP.

I noticed in your config file above that it says DPDK_VERSION ?= 19.08. My 
dpdk.ml file currently shows DPDK_VERSION ?= 19.05 because I am trying to build 
and use VPP version 19.08.1-release and I believe DPDK 19.05 is the 
corresponding version to use with this version of VPP. Which version of VPP did 
you use in your current test environment where you got the devices to attach 
properly? Perhaps one that is meant to be used with DPDK_VERSION 19.08?

Also, could you please share the dpdk section of your VPP startup.conf? Mine 
looks like this:
dpdk {
dev 0002:00:02.0
vdev net_vdev_netvsc0,iface=eth1

dev 0003:00:02.0
vdev net_vdev_netvsc1,iface=eth2
}

On another note, when you say that I should use static ARP as a workaround, I 
assume you mean using VPP's 'set ip arp' command, right?

One other thing my colleague discovered that might affect the situation is 
weirdness with the TAP interfaces on Azure (dtap0 and dtap1) when DPDK is 
binding to interfaces using vdev_netsvc. Basically, dtap1 was getting renamed 
to one of the 'renameX' interfaces which was preventing DPDK's testpmd from 
forwarding traffic and I'm wondering if this could be related to the ARP issues 
you're seeing. Creating the /etc/systemd/network/10dtap.link file containing 
the following solved this issue:
[Match]
OriginalName=dtap*
[Link]
NamePolicy=kernel

This change might require a 'sudo systemctl daemon-reload' to take effect, not 
sure.

Thanks,

Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15298): https://lists.fd.io/g/vpp-dev/message/15298
Mute This Topic: https://lists.fd.io/mt/69987045/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #dpdk: https://lists.fd.io/mk?hashtag=dpdk&subid=1480452
Mute #azure: https://lists.fd.io/mk?hashtag=azure&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to