Hi Chris,

Here are some updates: we were able to make VPP get packets in Azure with the 
DPDK driver. Note that the native rdma driver does not support Azure yet (it 
supports only mlx5 for now and does not support vmbus pairing).
You need to recompile the DPDK embedded in VPP DPDK plugin with the right set 
of driver (see below) - I think this is what you might be missing. We need to 
fix the build-system a bit so it can be more user-friendly.
After that, this should work. There are still some caveats I am investigating 
though:
 - for some reasons, it seems that VPP never gets ARP answers. I am wondering 
if they are tx on the wrong interface through failsafe (vf instead of vmbus). 
You should use static ARP for now
 - also, be aware that Azure VNet are L3 networks, you can't do L2 as far I 
know. The only way you can route packets is :
   1) between subnets
   2) iff you enabled ip forwarding for your VM
   3) you put an Azure user-defined "VirtualAppliance" route to define VPP as 
nexthop

Here is the conf you need to apply and then rebuild VPP (make rebuild-release):

diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk
index a068210a5..d1dcdedde 100644
--- a/build/external/packages/dpdk.mk
+++ b/build/external/packages/dpdk.mk
@@ -16,10 +16,10 @@ DPDK_CACHE_LINE_SIZE         ?= 64
 DPDK_DOWNLOAD_DIR            ?= $(DL_CACHE_DIR)
 DPDK_DEBUG                   ?= n
 DPDK_AARCH64_GENERIC         ?= y
-DPDK_MLX4_PMD                ?= n
-DPDK_MLX5_PMD                ?= n
-DPDK_TAP_PMD                 ?= n
-DPDK_FAILSAFE_PMD            ?= n
+DPDK_MLX4_PMD                ?= y
+DPDK_MLX5_PMD                ?= y
+DPDK_TAP_PMD                 ?= y
+DPDK_FAILSAFE_PMD            ?= y

 DPDK_VERSION                 ?= 19.08
 DPDK_BASE_URL                ?= http://fast.dpdk.org/rel

Hope this helps
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Benoit Ganne
> (bganne) via Lists.Fd.Io
> Sent: mardi 28 janvier 2020 17:03
> To: Chris King <chriskin...@gmail.com>; vpp-dev@lists.fd.io
> Cc: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] interface activation problem using VPP in Azure
> with DPDK failsafe interfaces #vpp #dpdk #azure
> 
> Hi Chris,
> 
> It used to work in previous releases, but we reproduced the issue with
> latest VPP. Not sure what is going on exactly but we are working on it,
> we'll keep you posted (hopefully by end of this week).
> 
> Best
> ben
> 
> > -----Original Message-----
> > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Chris King
> > Sent: mardi 28 janvier 2020 16:56
> > To: vpp-dev@lists.fd.io
> > Subject: Re: [vpp-dev] interface activation problem using VPP in Azure
> > with DPDK failsafe interfaces #vpp #dpdk #azure
> >
> > Damjan (and group),
> >
> > Any pointers as to exactly how I would configure VPP to use the RDMA
> > drivers? What would I put in the vdev line in the VPP startup.conf?
> >
> > Also, do you know if this is expected to work on Azure?
> >
> > Thanks,
> >
> > Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15295): https://lists.fd.io/g/vpp-dev/message/15295
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